/*
 * This is a RANDOMLY GENERATED PROGRAM.
 *
 * Generator: csmith 2.4.0
 * Git version: 0ec6f1b
 * Options:   (none)
 * Seed:      1736999600
 */

#include "csmith.h"


static long __undefined;

/* --- Struct/Union Declarations --- */
#pragma pack(push)
#pragma pack(1)
struct S0 {
   volatile signed f0 : 6;
};
#pragma pack(pop)

struct S1 {
   uint32_t  f0;
};

union U2 {
   volatile signed f0 : 18;
   volatile int8_t  f1;
   int32_t  f2;
};

union U3 {
   int64_t  f0;
   signed f1 : 19;
   uint32_t  f2;
   volatile int8_t  f3;
};

/* --- GLOBAL VARIABLES --- */
static uint32_t g_13 = 0xBBD0A708L;
static uint64_t g_15[3] = {3UL,3UL,3UL};
static int16_t g_47 = (-1L);
static volatile union U3 g_48 = {0x7221EBC5F93BE41BLL};/* VOLATILE GLOBAL g_48 */
static uint64_t g_50[8][6][4] = {{{1UL,18446744073709551615UL,0x771356723FF4914DLL,1UL},{0x962DE1B453F47794LL,18446744073709551606UL,8UL,0x99D012CD0AB83DCDLL},{0x9E06D3C1D26016E5LL,0x2A889E4E2CD5B9AALL,0x7A12536DE7EBAC3FLL,0xCC4390AC9F79E4B3LL},{0x7A12536DE7EBAC3FLL,0xCC4390AC9F79E4B3LL,18446744073709551608UL,0xE3C239170055833ALL},{18446744073709551615UL,0x935178915D48947DLL,1UL,0x99D012CD0AB83DCDLL},{0xEC37461BCF2EC287LL,0xCDD171CF63D7CB68LL,0xE3C239170055833ALL,18446744073709551613UL}},{{0xC42EF39980A6F85DLL,18446744073709551615UL,0UL,0UL},{0x2507BCD5AEB5978FLL,0x2507BCD5AEB5978FLL,8UL,0x962DE1B453F47794LL},{0xEC37461BCF2EC287LL,0UL,0xC42EF39980A6F85DLL,18446744073709551606UL},{0x771356723FF4914DLL,0x9E06D3C1D26016E5LL,18446744073709551608UL,0xC42EF39980A6F85DLL},{0x99D012CD0AB83DCDLL,0x9E06D3C1D26016E5LL,0UL,0x2A889E4E2CD5B9AALL},{0UL,4UL,0xC584EDB553A81F6ELL,0xCDD171CF63D7CB68LL}},{{0xD45C545F0A862252LL,0xE3C239170055833ALL,0UL,4UL},{0xC42EF39980A6F85DLL,1UL,18446744073709551613UL,0xC42EF39980A6F85DLL},{0xCDD171CF63D7CB68LL,0x647D02C9AA6F5761LL,0xC584EDB553A81F6ELL,0UL},{0UL,18446744073709551615UL,18446744073709551615UL,0x429B0536403AC464LL},{0UL,0xFE96F77D900D2964LL,0xEC37461BCF2EC287LL,0xFE96F77D900D2964LL},{1UL,8UL,8UL,0UL}},{{0UL,0x2A889E4E2CD5B9AALL,0x429B0536403AC464LL,1UL},{0xE3C239170055833ALL,1UL,18446744073709551615UL,0x771356723FF4914DLL},{0xE3C239170055833ALL,8UL,0x429B0536403AC464LL,0xCDD171CF63D7CB68LL},{0UL,0x771356723FF4914DLL,8UL,0x647D02C9AA6F5761LL},{1UL,0UL,0xEC37461BCF2EC287LL,0xE3C239170055833ALL},{0UL,0UL,18446744073709551615UL,0x2A889E4E2CD5B9AALL}},{{0UL,0x771356723FF4914DLL,0xC584EDB553A81F6ELL,0xD45C545F0A862252LL},{0xCDD171CF63D7CB68LL,0xE3C239170055833ALL,18446744073709551613UL,0x771356723FF4914DLL},{0xC42EF39980A6F85DLL,0UL,0UL,0xC42EF39980A6F85DLL},{0xD45C545F0A862252LL,0x2A889E4E2CD5B9AALL,0xC584EDB553A81F6ELL,18446744073709551615UL},{0UL,18446744073709551615UL,18446744073709551610UL,0xFE96F77D900D2964LL},{0UL,0x429B0536403AC464LL,0x709E8E548E01AFECLL,0xFE96F77D900D2964LL}},{{0UL,18446744073709551615UL,8UL,18446744073709551615UL},{0x7A12536DE7EBAC3FLL,0x2A889E4E2CD5B9AALL,0x9E06D3C1D26016E5LL,0xC42EF39980A6F85DLL},{0xE3C239170055833ALL,0UL,4UL,0x771356723FF4914DLL},{8UL,0xE3C239170055833ALL,0x429B0536403AC464LL,0xD45C545F0A862252LL},{0x7A12536DE7EBAC3FLL,0x771356723FF4914DLL,0xCC4390AC9F79E4B3LL,0x2A889E4E2CD5B9AALL},{1UL,0UL,0x709E8E548E01AFECLL,0xE3C239170055833ALL}},{{18446744073709551615UL,0UL,18446744073709551615UL,0x647D02C9AA6F5761LL},{0UL,0x771356723FF4914DLL,0xDD038CF49CF94A22LL,0xCDD171CF63D7CB68LL},{0xCDD171CF63D7CB68LL,8UL,0UL,0x771356723FF4914DLL},{1UL,1UL,0UL,1UL},{0xCDD171CF63D7CB68LL,0x2A889E4E2CD5B9AALL,0xDD038CF49CF94A22LL,0UL},{0UL,8UL,18446744073709551615UL,0xFE96F77D900D2964LL}},{{18446744073709551615UL,0xFE96F77D900D2964LL,0x709E8E548E01AFECLL,0x429B0536403AC464LL},{1UL,18446744073709551615UL,0xCC4390AC9F79E4B3LL,0UL},{0x7A12536DE7EBAC3FLL,0x647D02C9AA6F5761LL,0x429B0536403AC464LL,0xC42EF39980A6F85DLL},{8UL,1UL,4UL,4UL},{0xE3C239170055833ALL,0xE3C239170055833ALL,0x9E06D3C1D26016E5LL,0xCDD171CF63D7CB68LL},{0x7A12536DE7EBAC3FLL,4UL,8UL,0x2A889E4E2CD5B9AALL}}};
static uint64_t * volatile g_49 = &g_50[1][2][1];/* VOLATILE GLOBAL g_49 */
static int32_t g_56 = 0x98031143L;
static uint64_t g_57 = 18446744073709551606UL;
static struct S1 g_63 = {1UL};
static struct S1 *g_62[2][2][8] = {{{&g_63,&g_63,&g_63,&g_63,&g_63,&g_63,&g_63,&g_63},{&g_63,&g_63,&g_63,&g_63,&g_63,&g_63,&g_63,&g_63}},{{&g_63,&g_63,&g_63,&g_63,&g_63,&g_63,&g_63,&g_63},{&g_63,&g_63,&g_63,&g_63,&g_63,&g_63,&g_63,&g_63}}};
static struct S1 *g_66 = &g_63;
static struct S1 ** volatile g_65 = &g_66;/* VOLATILE GLOBAL g_65 */
static int32_t * volatile g_68 = &g_56;/* VOLATILE GLOBAL g_68 */
static struct S0 g_70 = {7};/* VOLATILE GLOBAL g_70 */
static const struct S0 *g_72 = (void*)0;
static const struct S0 ** volatile g_71 = &g_72;/* VOLATILE GLOBAL g_71 */
static int32_t g_75 = 1L;
static volatile uint16_t g_94[8] = {1UL,1UL,1UL,1UL,1UL,1UL,1UL,1UL};
static struct S1 **g_109 = &g_62[1][0][1];
static struct S0 g_128[8][6][2] = {{{{4},{0}},{{2},{-2}},{{-3},{-0}},{{-3},{-2}},{{2},{-2}},{{-3},{-0}}},{{{-3},{-2}},{{2},{-2}},{{-3},{-0}},{{-3},{-2}},{{2},{-2}},{{-3},{-0}}},{{{-3},{-2}},{{2},{-2}},{{-3},{-0}},{{-3},{-2}},{{2},{-2}},{{-3},{-0}}},{{{-3},{-2}},{{2},{-2}},{{-3},{-0}},{{-3},{-2}},{{2},{-2}},{{-3},{-0}}},{{{-3},{-2}},{{2},{-2}},{{-3},{-0}},{{-3},{-2}},{{2},{-2}},{{-3},{-0}}},{{{-3},{-2}},{{2},{-2}},{{-3},{-0}},{{-3},{-2}},{{2},{-2}},{{-3},{-0}}},{{{-3},{-2}},{{2},{-2}},{{-3},{-0}},{{-3},{-2}},{{2},{-2}},{{-3},{-0}}},{{{-3},{-2}},{{2},{-2}},{{-3},{-0}},{{-3},{-2}},{{2},{-2}},{{-3},{-0}}}};
static uint64_t g_133 = 0x6651808F8001326FLL;
static int16_t g_148 = 0xB6B1L;
static int16_t g_153 = 1L;
static volatile uint32_t g_154 = 0x10136EA5L;/* VOLATILE GLOBAL g_154 */
static uint16_t g_158 = 1UL;
static volatile int32_t ** volatile *g_159 = (void*)0;
static union U2 g_161[3] = {{0x02645416L},{0x02645416L},{0x02645416L}};
static int32_t *g_163 = &g_75;
static int32_t ** const  volatile g_162 = &g_163;/* VOLATILE GLOBAL g_162 */
static int32_t ** const  volatile g_164 = (void*)0;/* VOLATILE GLOBAL g_164 */
static uint64_t g_171 = 0UL;
static int8_t g_196 = 0xFFL;
static const struct S0 ** volatile g_199 = &g_72;/* VOLATILE GLOBAL g_199 */
static uint8_t g_217[5][10] = {{1UL,0x6EL,5UL,0x0CL,0x54L,0xE6L,0x54L,0x0CL,5UL,0x6EL},{0xEBL,0UL,0x2FL,255UL,255UL,0x02L,0xF0L,5UL,255UL,255UL},{0UL,255UL,0x02L,0xE6L,0xE6L,0x02L,255UL,0UL,255UL,0xF0L},{0xEBL,0x2FL,0x0CL,0UL,0xCBL,0xE6L,0x32L,0xF0L,0x32L,0xE6L},{1UL,0xCBL,0x0CL,0xCBL,1UL,0xF0L,255UL,0UL,255UL,0x02L}};
static uint8_t g_219 = 0x3BL;
static const int32_t *g_226 = (void*)0;
static const int32_t ** volatile g_225 = &g_226;/* VOLATILE GLOBAL g_225 */
static int64_t g_232 = 0xEB3E65D3785568F7LL;
static volatile uint32_t g_234[8][3] = {{1UL,1UL,0x997FF8A4L},{0x8716988AL,0x997FF8A4L,0x997FF8A4L},{0x997FF8A4L,0x01C5CEDBL,0x69F502D7L},{0x8716988AL,0x01C5CEDBL,0x8716988AL},{1UL,0x997FF8A4L,0x69F502D7L},{1UL,1UL,0x997FF8A4L},{0x8716988AL,0x997FF8A4L,0x997FF8A4L},{0x997FF8A4L,0x01C5CEDBL,0x69F502D7L}};
static volatile struct S0 g_270 = {-5};/* VOLATILE GLOBAL g_270 */
static uint16_t g_275 = 0xB296L;
static volatile struct S0 g_276 = {-2};/* VOLATILE GLOBAL g_276 */
static const volatile union U2 g_279 = {0xFD4C5296L};/* VOLATILE GLOBAL g_279 */
static int32_t * volatile g_292 = &g_56;/* VOLATILE GLOBAL g_292 */
static volatile union U3 g_293 = {0xB230814F4F9EC15FLL};/* VOLATILE GLOBAL g_293 */
static struct S1 g_334[8][10] = {{{0x73953954L},{0xEF3ABFB5L},{4294967295UL},{0x73953954L},{0x3F403EBEL},{4294967295UL},{4294967295UL},{0x3F403EBEL},{0x73953954L},{4294967295UL}},{{0x3F403EBEL},{0x3F403EBEL},{4UL},{0xEF3ABFB5L},{0x3F403EBEL},{4294967294UL},{0xEF3ABFB5L},{0xEF3ABFB5L},{4294967294UL},{0x73953954L}},{{0x73953954L},{4UL},{4UL},{0x73953954L},{4294967294UL},{4UL},{4294967295UL},{4294967294UL},{4294967294UL},{4294967295UL}},{{4294967294UL},{0x73953954L},{4UL},{4UL},{0x73953954L},{4294967294UL},{4UL},{4294967295UL},{4294967294UL},{4294967294UL}},{{0x73953954L},{4294967295UL},{0xEF3ABFB5L},{0x73953954L},{0x73953954L},{0xEF3ABFB5L},{4294967295UL},{0x73953954L},{0x3F403EBEL},{4294967295UL}},{{0x73953954L},{4294967294UL},{4UL},{4294967295UL},{4294967294UL},{4294967294UL},{4294967295UL},{4UL},{4294967294UL},{0x73953954L}},{{4294967294UL},{4294967295UL},{4UL},{4294967294UL},{0x73953954L},{4UL},{4UL},{0x73953954L},{4294967294UL},{4UL}},{{0x73953954L},{0x73953954L},{0xEF3ABFB5L},{4294967295UL},{0x73953954L},{0x3F403EBEL},{4294967295UL},{4294967295UL},{0x3F403EBEL},{0x73953954L}}};
static struct S1 * const  volatile g_336 = (void*)0;/* VOLATILE GLOBAL g_336 */
static struct S1 * volatile g_337 = &g_334[7][3];/* VOLATILE GLOBAL g_337 */
static int32_t ** volatile g_346[4] = {&g_163,&g_163,&g_163,&g_163};
static int32_t ** volatile g_347 = &g_163;/* VOLATILE GLOBAL g_347 */
static int32_t ***** volatile g_360 = (void*)0;/* VOLATILE GLOBAL g_360 */
static struct S1 ***g_391 = &g_109;
static struct S1 ****g_390 = &g_391;
static const int32_t ** volatile g_472[6][3] = {{&g_226,&g_226,&g_226},{&g_226,&g_226,&g_226},{&g_226,&g_226,&g_226},{&g_226,&g_226,&g_226},{&g_226,&g_226,&g_226},{&g_226,&g_226,&g_226}};
static const int32_t ** volatile g_473 = &g_226;/* VOLATILE GLOBAL g_473 */
static int8_t g_554 = 0L;
static uint32_t *g_563 = (void*)0;
static uint64_t g_626[10][5][5] = {{{18446744073709551607UL,2UL,18446744073709551615UL,2UL,18446744073709551607UL},{1UL,0x7B7528EB9E8552F8LL,18446744073709551608UL,1UL,0x67934836B9889BBCLL},{0x0645434E3136FB00LL,0x5DA485B180E4EADCLL,0x9ABC841629C48CF7LL,0x2C2FC08B493F9349LL,0x58179D24AA2698B7LL},{5UL,18446744073709551612UL,0x67934836B9889BBCLL,0x7B7528EB9E8552F8LL,0x67934836B9889BBCLL},{0x2C2FC08B493F9349LL,0x2C2FC08B493F9349LL,18446744073709551615UL,0x9ABC841629C48CF7LL,18446744073709551607UL}},{{0x67934836B9889BBCLL,0UL,0x7FACDD10D1700F88LL,18446744073709551611UL,0x726E4FEAD361A7A1LL},{18446744073709551615UL,0xCB604D9EE8143DC4LL,0x58179D24AA2698B7LL,1UL,2UL},{0xC27263100BF3AC69LL,0UL,1UL,1UL,0UL},{0x5DA485B180E4EADCLL,0x2C2FC08B493F9349LL,0UL,18446744073709551607UL,5UL},{0x7FACDD10D1700F88LL,18446744073709551612UL,7UL,0xDE8CD0D28004AF81LL,1UL}},{{0xCB604D9EE8143DC4LL,0x5DA485B180E4EADCLL,18446744073709551607UL,18446744073709551607UL,0x5DA485B180E4EADCLL},{0x726E4FEAD361A7A1LL,0x7B7528EB9E8552F8LL,0x25870BD17F6E7D1FLL,1UL,1UL},{0xB0BD6536BDD317C1LL,2UL,0x2C2FC08B493F9349LL,1UL,0UL},{0UL,0xBBFB95DE3D5A84F0LL,0xEC291840EDA9A4A2LL,18446744073709551611UL,0xE2EA130B41F19CA0LL},{0xB0BD6536BDD317C1LL,18446744073709551615UL,0xB0BD6536BDD317C1LL,0x9ABC841629C48CF7LL,0x2C6022DD8C05D00ELL}},{{0x726E4FEAD361A7A1LL,0x129B96CB15F39CA0LL,5UL,0x7B7528EB9E8552F8LL,1UL},{0xCB604D9EE8143DC4LL,1UL,5UL,0x2C2FC08B493F9349LL,2UL},{0x7FACDD10D1700F88LL,1UL,5UL,1UL,0x7FACDD10D1700F88LL},{0x5DA485B180E4EADCLL,0x75769F63764777E1LL,0xB0BD6536BDD317C1LL,2UL,0x2C2FC08B493F9349LL},{0xC27263100BF3AC69LL,0UL,0xEC291840EDA9A4A2LL,0UL,7UL}},{{18446744073709551615UL,0xB0BD6536BDD317C1LL,0x2C2FC08B493F9349LL,0x75769F63764777E1LL,0x2C2FC08B493F9349LL},{0x67934836B9889BBCLL,0UL,0x25870BD17F6E7D1FLL,0UL,18446744073709551608UL},{18446744073709551615UL,0x58179D24AA2698B7LL,0xB0BD6536BDD317C1LL,18446744073709551607UL,0x9ABC841629C48CF7LL},{0UL,1UL,0xE2EA130B41F19CA0LL,5UL,0x67934836B9889BBCLL},{2UL,0x58179D24AA2698B7LL,0x58179D24AA2698B7LL,2UL,18446744073709551615UL}},{{1UL,0xDE8CD0D28004AF81LL,7UL,18446744073709551612UL,0x7FACDD10D1700F88LL},{0xB0BD6536BDD317C1LL,0x2C6022DD8C05D00ELL,5UL,0x75769F63764777E1LL,0x58179D24AA2698B7LL},{1UL,0UL,18446744073709551608UL,18446744073709551612UL,1UL},{0x9ABC841629C48CF7LL,0x0645434E3136FB00LL,1UL,2UL,0UL},{0UL,0UL,5UL,5UL,7UL}},{{0x0645434E3136FB00LL,0xCB604D9EE8143DC4LL,0x5DA485B180E4EADCLL,18446744073709551607UL,18446744073709551607UL},{0UL,0xBBFB95DE3D5A84F0LL,0UL,0UL,0x25870BD17F6E7D1FLL},{0x9ABC841629C48CF7LL,1UL,0x75769F63764777E1LL,0x0645434E3136FB00LL,0x2C2FC08B493F9349LL},{1UL,5UL,0x7FACDD10D1700F88LL,0xDE8CD0D28004AF81LL,0xEC291840EDA9A4A2LL},{0xB0BD6536BDD317C1LL,0x2C2FC08B493F9349LL,0x75769F63764777E1LL,0x2C2FC08B493F9349LL,0xB0BD6536BDD317C1LL}},{{1UL,1UL,0UL,0UL,5UL},{2UL,0UL,0x5DA485B180E4EADCLL,18446744073709551615UL,5UL},{0UL,0UL,5UL,1UL,5UL},{18446744073709551615UL,18446744073709551615UL,1UL,0x5DA485B180E4EADCLL,0xB0BD6536BDD317C1LL},{5UL,0xD477FF0998DA7BBBLL,18446744073709551608UL,18446744073709551608UL,0xEC291840EDA9A4A2LL}},{{0x75769F63764777E1LL,2UL,5UL,0xCB604D9EE8143DC4LL,0x2C2FC08B493F9349LL},{0x726E4FEAD361A7A1LL,0xD477FF0998DA7BBBLL,7UL,0xB42DDA73BD8A8B03LL,0x25870BD17F6E7D1FLL},{0UL,18446744073709551615UL,0x58179D24AA2698B7LL,0xB0BD6536BDD317C1LL,18446744073709551607UL},{18446744073709551608UL,0UL,0xE2EA130B41F19CA0LL,0x7B7528EB9E8552F8LL,7UL},{2UL,0UL,0xB0BD6536BDD317C1LL,0xB0BD6536BDD317C1LL,0UL}},{{0xEC291840EDA9A4A2LL,1UL,0x0FF08DE55C7EB277LL,0xB42DDA73BD8A8B03LL,1UL},{0x2C6022DD8C05D00ELL,0x2C2FC08B493F9349LL,18446744073709551615UL,0xCB604D9EE8143DC4LL,0x58179D24AA2698B7LL},{0xC27263100BF3AC69LL,5UL,1UL,18446744073709551608UL,0x7FACDD10D1700F88LL},{0x2C6022DD8C05D00ELL,1UL,0x2C6022DD8C05D00ELL,0x5DA485B180E4EADCLL,18446744073709551615UL},{0xEC291840EDA9A4A2LL,0xBBFB95DE3D5A84F0LL,0UL,1UL,0x67934836B9889BBCLL}}};
static union U2 g_679 = {-1L};/* VOLATILE GLOBAL g_679 */
static struct S0 g_692 = {6};/* VOLATILE GLOBAL g_692 */
static const volatile union U2 g_700[2][1][3] = {{{{0xF1199B2FL},{0xF1199B2FL},{0x1618003CL}}},{{{0xF1199B2FL},{0xF1199B2FL},{0x1618003CL}}}};
static const struct S0 ** volatile g_736 = &g_72;/* VOLATILE GLOBAL g_736 */
static union U2 *g_741 = &g_161[2];
static union U2 ** volatile g_740 = &g_741;/* VOLATILE GLOBAL g_740 */
static volatile union U2 g_760 = {0L};/* VOLATILE GLOBAL g_760 */
static uint32_t g_763[1] = {0x065D854FL};
static int32_t **g_790 = &g_163;
static int32_t g_809[1] = {5L};
static union U3 g_836 = {-3L};/* VOLATILE GLOBAL g_836 */
static const struct S1 *g_901[4] = {(void*)0,(void*)0,(void*)0,(void*)0};
static const struct S1 **g_900 = &g_901[3];
static const struct S1 ***g_899[3][6] = {{&g_900,&g_900,&g_900,&g_900,&g_900,&g_900},{&g_900,&g_900,&g_900,&g_900,&g_900,&g_900},{&g_900,&g_900,&g_900,&g_900,&g_900,&g_900}};
static const struct S1 **** const g_898 = &g_899[0][5];
static const struct S1 **** const *g_897[1][4] = {{&g_898,&g_898,&g_898,&g_898}};
static uint64_t g_906 = 18446744073709551615UL;
static uint16_t g_919[9] = {65535UL,65535UL,65535UL,65535UL,65535UL,65535UL,65535UL,65535UL,65535UL};
static int16_t g_937 = 1L;
static volatile union U2 g_975 = {1L};/* VOLATILE GLOBAL g_975 */
static struct S0 g_987 = {-3};/* VOLATILE GLOBAL g_987 */
static struct S0 g_1005 = {0};/* VOLATILE GLOBAL g_1005 */
static int8_t *g_1032 = &g_554;
static const int32_t ** volatile g_1040 = &g_226;/* VOLATILE GLOBAL g_1040 */
static struct S0 g_1043 = {-7};/* VOLATILE GLOBAL g_1043 */
static uint32_t g_1057 = 1UL;
static volatile int8_t g_1071 = 0xBFL;/* VOLATILE GLOBAL g_1071 */
static volatile int8_t * volatile g_1081 = &g_1071;/* VOLATILE GLOBAL g_1081 */
static volatile int8_t * volatile * const g_1080 = &g_1081;
static volatile int8_t * volatile * const * volatile g_1079[2] = {&g_1080,&g_1080};
static volatile int8_t * volatile * const * volatile * volatile g_1082 = &g_1079[1];/* VOLATILE GLOBAL g_1082 */
static union U2 ** volatile g_1084 = &g_741;/* VOLATILE GLOBAL g_1084 */
static const struct S0 g_1116 = {1};/* VOLATILE GLOBAL g_1116 */
static union U2 g_1127 = {0L};/* VOLATILE GLOBAL g_1127 */
static struct S0 g_1137 = {-0};/* VOLATILE GLOBAL g_1137 */
static const volatile uint32_t * volatile * volatile g_1138 = (void*)0;/* VOLATILE GLOBAL g_1138 */
static const struct S0 ** volatile ** volatile g_1181 = (void*)0;/* VOLATILE GLOBAL g_1181 */
static const struct S0 g_1209[7] = {{-6},{-6},{-6},{-6},{-6},{-6},{-6}};
static int32_t ***g_1229[8][10][3] = {{{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{(void*)0,&g_790,&g_790},{&g_790,&g_790,&g_790},{(void*)0,&g_790,&g_790},{&g_790,&g_790,&g_790},{(void*)0,&g_790,&g_790},{&g_790,&g_790,(void*)0},{(void*)0,&g_790,&g_790}},{{&g_790,&g_790,(void*)0},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790}},{{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{(void*)0,&g_790,&g_790},{&g_790,&g_790,&g_790},{(void*)0,&g_790,&g_790},{&g_790,&g_790,&g_790},{(void*)0,&g_790,&g_790}},{{&g_790,&g_790,(void*)0},{(void*)0,&g_790,&g_790},{&g_790,&g_790,(void*)0},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790}},{{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{(void*)0,&g_790,&g_790},{&g_790,&g_790,&g_790},{(void*)0,&g_790,&g_790}},{{&g_790,&g_790,&g_790},{(void*)0,&g_790,&g_790},{&g_790,&g_790,(void*)0},{(void*)0,&g_790,&g_790},{&g_790,&g_790,(void*)0},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790}},{{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,(void*)0,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,(void*)0},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790}},{{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,(void*)0,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790},{&g_790,&g_790,&g_790}}};
static int32_t ****g_1228 = &g_1229[6][5][0];
static int32_t *****g_1227 = &g_1228;
static int32_t g_1247[7] = {(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)};
static volatile struct S0 g_1251 = {5};/* VOLATILE GLOBAL g_1251 */
static volatile struct S0 g_1305 = {5};/* VOLATILE GLOBAL g_1305 */
static int8_t ****g_1312 = (void*)0;
static struct S0 *g_1338[3] = {(void*)0,(void*)0,(void*)0};
static struct S0 **g_1337 = &g_1338[0];
static struct S0 ***g_1336 = &g_1337;
static struct S0 *** const *g_1335 = &g_1336;
static volatile struct S0 g_1421 = {1};/* VOLATILE GLOBAL g_1421 */
static struct S0 g_1435 = {-4};/* VOLATILE GLOBAL g_1435 */
static struct S0 * volatile g_1436 = &g_987;/* VOLATILE GLOBAL g_1436 */
static struct S0 g_1454[6] = {{-1},{6},{-1},{-1},{6},{-1}};
static uint32_t ***g_1466 = (void*)0;
static int32_t * volatile g_1481 = &g_809[0];/* VOLATILE GLOBAL g_1481 */
static union U2 g_1488 = {-6L};/* VOLATILE GLOBAL g_1488 */
static union U3 g_1499 = {0L};/* VOLATILE GLOBAL g_1499 */
static union U3 *g_1498 = &g_1499;
static volatile union U2 g_1551 = {0L};/* VOLATILE GLOBAL g_1551 */
static uint16_t *g_1621 = &g_919[1];
static uint16_t **g_1620 = &g_1621;
static int32_t g_1630 = 5L;
static union U3 **g_1648 = &g_1498;
static union U2 ** volatile g_1659 = (void*)0;/* VOLATILE GLOBAL g_1659 */
static uint32_t g_1663[9][10][2] = {{{4294967292UL,5UL},{4294967293UL,5UL},{4294967292UL,0x8498AD4DL},{0x8498AD4DL,4294967292UL},{5UL,4294967293UL},{5UL,4294967292UL},{0x8498AD4DL,0x8498AD4DL},{4294967292UL,5UL},{4294967293UL,5UL},{4294967292UL,0x8498AD4DL}},{{0x8498AD4DL,4294967292UL},{5UL,4294967293UL},{5UL,4294967292UL},{0x8498AD4DL,0x8498AD4DL},{4294967292UL,5UL},{4294967293UL,5UL},{4294967292UL,0x8498AD4DL},{0x8498AD4DL,4294967292UL},{5UL,4294967293UL},{5UL,4294967292UL}},{{0x8498AD4DL,0x8498AD4DL},{4294967292UL,5UL},{4294967293UL,5UL},{4294967292UL,0x8498AD4DL},{0x8498AD4DL,4294967292UL},{5UL,4294967293UL},{5UL,4294967292UL},{0x8498AD4DL,0x8498AD4DL},{4294967292UL,5UL},{4294967293UL,5UL}},{{4294967292UL,0x8498AD4DL},{0x8498AD4DL,4294967292UL},{5UL,4294967293UL},{5UL,4294967292UL},{0x8498AD4DL,0x8498AD4DL},{4294967292UL,5UL},{4294967293UL,5UL},{4294967292UL,0x8498AD4DL},{0x8498AD4DL,4294967292UL},{5UL,4294967293UL}},{{5UL,4294967292UL},{0x8498AD4DL,0x8498AD4DL},{4294967292UL,5UL},{4294967293UL,5UL},{4294967292UL,0x8498AD4DL},{0x8498AD4DL,4294967292UL},{5UL,4294967293UL},{5UL,4294967292UL},{0x8498AD4DL,0x8498AD4DL},{4294967292UL,5UL}},{{4294967293UL,5UL},{4294967292UL,0x8498AD4DL},{0x8498AD4DL,4294967292UL},{5UL,4294967293UL},{5UL,4294967292UL},{0x8498AD4DL,0x8498AD4DL},{4294967292UL,5UL},{4294967293UL,5UL},{4294967292UL,0x8498AD4DL},{0x8498AD4DL,4294967292UL}},{{5UL,4294967293UL},{4294967292UL,4294967293UL},{0UL,0UL},{4294967293UL,4294967292UL},{6UL,4294967292UL},{4294967293UL,0UL},{0UL,4294967293UL},{4294967292UL,6UL},{4294967292UL,4294967293UL},{0UL,0UL}},{{4294967293UL,4294967292UL},{6UL,4294967292UL},{4294967293UL,0UL},{0UL,4294967293UL},{4294967292UL,6UL},{4294967292UL,4294967293UL},{0UL,0UL},{4294967293UL,4294967292UL},{6UL,4294967292UL},{4294967293UL,0UL}},{{0UL,4294967293UL},{4294967292UL,6UL},{4294967292UL,4294967293UL},{0UL,0UL},{4294967293UL,4294967292UL},{6UL,4294967292UL},{4294967293UL,0UL},{0UL,4294967293UL},{4294967292UL,6UL},{4294967292UL,4294967293UL}}};
static int32_t *** const *g_1669 = (void*)0;
static int32_t *** const ** volatile g_1668 = &g_1669;/* VOLATILE GLOBAL g_1668 */
static union U3 ***g_1679 = &g_1648;
static const struct S0 ** const  volatile g_1689 = &g_72;/* VOLATILE GLOBAL g_1689 */
static volatile struct S0 g_1690[5] = {{-0},{-0},{-0},{-0},{-0}};
static volatile struct S0 * volatile g_1691 = &g_1421;/* VOLATILE GLOBAL g_1691 */
static struct S0 g_1704[8] = {{-6},{7},{-6},{7},{-6},{7},{-6},{7}};
static int8_t g_1728 = 0xA5L;
static struct S0 g_1797 = {-4};/* VOLATILE GLOBAL g_1797 */
static uint16_t * const * const g_1883[2] = {&g_1621,&g_1621};
static uint16_t * const * const *g_1882[1] = {&g_1883[1]};
static uint16_t * const * const **g_1881 = &g_1882[0];
static int8_t *****g_1905 = &g_1312;
static const volatile int32_t g_1939 = 0x4C6E402AL;/* VOLATILE GLOBAL g_1939 */
static struct S0 g_1954 = {3};/* VOLATILE GLOBAL g_1954 */
static volatile union U3 g_1986 = {0x3DD9C89159887CDDLL};/* VOLATILE GLOBAL g_1986 */
static volatile int32_t g_1991 = 0x1AC447CDL;/* VOLATILE GLOBAL g_1991 */
static const int32_t ** volatile g_2001 = &g_226;/* VOLATILE GLOBAL g_2001 */
static volatile union U2 g_2073 = {0x8A616871L};/* VOLATILE GLOBAL g_2073 */
static volatile union U3 g_2078 = {0xE79DA20478FDDA7ELL};/* VOLATILE GLOBAL g_2078 */
static volatile uint8_t g_2101 = 0x3BL;/* VOLATILE GLOBAL g_2101 */
static uint64_t *g_2111[1] = {(void*)0};
static const int64_t g_2201 = 0xF08B23571D3B01B0LL;
static const int64_t g_2203 = (-1L);
static const int64_t *g_2202 = &g_2203;
static struct S0 g_2207[9][10] = {{{2},{-1},{0},{-3},{4},{2},{-0},{1},{-0},{2}},{{-1},{4},{0},{4},{-1},{1},{1},{-3},{1},{6}},{{1},{-6},{6},{1},{1},{-2},{-2},{1},{1},{6}},{{1},{1},{-1},{6},{-1},{-2},{1},{0},{0},{2}},{{0},{-0},{1},{1},{4},{1},{1},{-0},{0},{1}},{{-6},{1},{0},{-1},{2},{2},{-2},{4},{4},{-2}},{{-0},{-6},{-1},{-1},{-6},{-0},{1},{2},{0},{-2}},{{-2},{4},{1},{1},{0},{-1},{-0},{-1},{0},{1}},{{-2},{-1},{-2},{6},{-2},{-0},{1},{2},{1},{2}}};
static struct S0 g_2208 = {-5};/* VOLATILE GLOBAL g_2208 */
static volatile uint32_t g_2254 = 0xF0540343L;/* VOLATILE GLOBAL g_2254 */
static union U2 g_2270[8][7][4] = {{{{-5L},{0x2D5F37E4L},{5L},{-1L}},{{-4L},{0x3DCAB47AL},{-5L},{-1L}},{{0xE32BAB41L},{0x2D5F37E4L},{0xE32BAB41L},{0xCA341128L}},{{0xE32BAB41L},{0xCA341128L},{-5L},{0x9A2F9D2BL}},{{-4L},{0xCA341128L},{5L},{0xCA341128L}},{{-5L},{0x2D5F37E4L},{5L},{-1L}},{{-4L},{0x3DCAB47AL},{0xE32BAB41L},{0x2D5F37E4L}}},{{{5L},{0x3DCAB47AL},{5L},{0x9A2F9D2BL}},{{5L},{0x9A2F9D2BL},{0xE32BAB41L},{-1L}},{{-5L},{0x9A2F9D2BL},{-1L},{0x9A2F9D2BL}},{{0xE32BAB41L},{0x3DCAB47AL},{-1L},{0x2D5F37E4L}},{{-5L},{0xCA341128L},{0xE32BAB41L},{0x2D5F37E4L}},{{5L},{0x3DCAB47AL},{5L},{0x9A2F9D2BL}},{{5L},{0x9A2F9D2BL},{0xE32BAB41L},{-1L}}},{{{-5L},{0x9A2F9D2BL},{-1L},{0x9A2F9D2BL}},{{0xE32BAB41L},{0x3DCAB47AL},{-1L},{0x2D5F37E4L}},{{-5L},{0xCA341128L},{0xE32BAB41L},{0x2D5F37E4L}},{{5L},{0x3DCAB47AL},{5L},{0x9A2F9D2BL}},{{5L},{0x9A2F9D2BL},{0xE32BAB41L},{-1L}},{{-5L},{0x9A2F9D2BL},{-1L},{0x9A2F9D2BL}},{{0xE32BAB41L},{0x3DCAB47AL},{-1L},{0x2D5F37E4L}}},{{{-5L},{0xCA341128L},{0xE32BAB41L},{0x2D5F37E4L}},{{5L},{0x3DCAB47AL},{5L},{0x9A2F9D2BL}},{{5L},{0x9A2F9D2BL},{0xE32BAB41L},{-1L}},{{-5L},{0x9A2F9D2BL},{-1L},{0x9A2F9D2BL}},{{0xE32BAB41L},{0x3DCAB47AL},{-1L},{0x2D5F37E4L}},{{-5L},{0xCA341128L},{0xE32BAB41L},{0x2D5F37E4L}},{{5L},{0x3DCAB47AL},{5L},{0x9A2F9D2BL}}},{{{5L},{0x9A2F9D2BL},{0xE32BAB41L},{-1L}},{{-5L},{0x9A2F9D2BL},{-1L},{0x9A2F9D2BL}},{{0xE32BAB41L},{0x3DCAB47AL},{-1L},{0x2D5F37E4L}},{{-5L},{0xCA341128L},{0xE32BAB41L},{0x2D5F37E4L}},{{5L},{0x3DCAB47AL},{5L},{0x9A2F9D2BL}},{{5L},{0x9A2F9D2BL},{0xE32BAB41L},{-1L}},{{-5L},{0x9A2F9D2BL},{-1L},{0x9A2F9D2BL}}},{{{0xE32BAB41L},{0x3DCAB47AL},{-1L},{0x2D5F37E4L}},{{-5L},{0xCA341128L},{0xE32BAB41L},{0x2D5F37E4L}},{{5L},{0x3DCAB47AL},{5L},{0x9A2F9D2BL}},{{5L},{0x9A2F9D2BL},{0xE32BAB41L},{-1L}},{{-5L},{0x9A2F9D2BL},{-1L},{0x9A2F9D2BL}},{{0xE32BAB41L},{0x3DCAB47AL},{-1L},{0x2D5F37E4L}},{{-5L},{0xCA341128L},{0xE32BAB41L},{0x2D5F37E4L}}},{{{5L},{0x3DCAB47AL},{5L},{0x9A2F9D2BL}},{{5L},{0x9A2F9D2BL},{0xE32BAB41L},{-1L}},{{-5L},{0x9A2F9D2BL},{-1L},{0x9A2F9D2BL}},{{0xE32BAB41L},{0x3DCAB47AL},{-1L},{0x2D5F37E4L}},{{-5L},{0xCA341128L},{0xE32BAB41L},{0x2D5F37E4L}},{{5L},{0x3DCAB47AL},{5L},{0x9A2F9D2BL}},{{5L},{0x9A2F9D2BL},{0xE32BAB41L},{-1L}}},{{{-5L},{0x9A2F9D2BL},{-1L},{0x9A2F9D2BL}},{{0xE32BAB41L},{0x3DCAB47AL},{-1L},{0x2D5F37E4L}},{{-5L},{0xCA341128L},{0xE32BAB41L},{0x2D5F37E4L}},{{5L},{0x3DCAB47AL},{5L},{0x9A2F9D2BL}},{{5L},{0x9A2F9D2BL},{0xE32BAB41L},{-1L}},{{-5L},{-1L},{-4L},{-1L}},{{5L},{0xCA341128L},{-4L},{0x3DCAB47AL}}}};
static union U2 g_2271 = {0x24F2782AL};/* VOLATILE GLOBAL g_2271 */
static union U2 g_2272 = {0L};/* VOLATILE GLOBAL g_2272 */
static union U2 g_2273 = {0xDAD95808L};/* VOLATILE GLOBAL g_2273 */
static union U2 g_2274 = {0xE25F7C6AL};/* VOLATILE GLOBAL g_2274 */
static union U2 g_2275[5] = {{4L},{4L},{4L},{4L},{4L}};
static union U2 g_2276 = {-3L};/* VOLATILE GLOBAL g_2276 */
static union U2 g_2277 = {0x8D3F0A85L};/* VOLATILE GLOBAL g_2277 */
static union U2 g_2278 = {0x79274EEEL};/* VOLATILE GLOBAL g_2278 */
static union U2 g_2279 = {0xA2072C5EL};/* VOLATILE GLOBAL g_2279 */
static union U2 g_2280[4][5][8] = {{{{0x53F55769L},{1L},{0L},{0x0AD43505L},{0xAB29AFF8L},{0x0AD43505L},{0L},{1L}},{{-1L},{3L},{0x001D0AB5L},{0x0D7ADAACL},{0xDAB9027DL},{-1L},{0L},{0xEADB0F8BL}},{{0xBB34E193L},{-1L},{-5L},{4L},{-1L},{-1L},{0L},{0xAB29AFF8L}},{{0L},{4L},{0x001D0AB5L},{-1L},{0x0D7ADAACL},{0x53F55769L},{0L},{0x22320633L}},{{0x0D7ADAACL},{0x53F55769L},{0L},{0x22320633L},{0x001D0AB5L},{0x4E5552EEL},{6L},{0x9A398DA3L}}},{{{0L},{0xBB34E193L},{0xC2CE9A7AL},{4L},{4L},{0xC2CE9A7AL},{0xBB34E193L},{0L}},{{0xEADB0F8BL},{0x22320633L},{0xDAB9027DL},{0L},{0xBB34E193L},{3L},{-4L},{1L}},{{0x0D7ADAACL},{0x0AD43505L},{0x9A398DA3L},{0L},{0L},{3L},{1L},{0x001D0AB5L}},{{6L},{0x22320633L},{-3L},{0xA21F54D6L},{-1L},{0xC2CE9A7AL},{0xA21F54D6L},{0L}},{{0x001D0AB5L},{0xBB34E193L},{0x0AD43505L},{0xEADB0F8BL},{0xAB9524A2L},{0x4E5552EEL},{0x53F55769L},{6L}}},{{{-1L},{0x53F55769L},{0x9A398DA3L},{0xBB34E193L},{0x9A398DA3L},{0x53F55769L},{-1L},{0L}},{{1L},{4L},{0xBDC58391L},{0L},{0L},{-1L},{0xBB34E193L},{0L}},{{0x87BCEC8CL},{-1L},{-4L},{0x87BCEC8CL},{0L},{-1L},{0L},{0xBB34E193L}},{{1L},{3L},{0L},{0L},{0x9A398DA3L},{0x0AD43505L},{0x0D7ADAACL},{3L}},{{-1L},{1L},{-1L},{0x0D7ADAACL},{0xAB9524A2L},{1L},{0L},{0L}}},{{{0x001D0AB5L},{-1L},{0x4E5552EEL},{0x4E5552EEL},{-1L},{0x001D0AB5L},{0xEADB0F8BL},{0xAB29AFF8L}},{{6L},{0x4E5552EEL},{0x001D0AB5L},{0x22320633L},{0L},{0x53F55769L},{0x0D7ADAACL},{-1L}},{{0x0D7ADAACL},{1L},{-1L},{0x22320633L},{0xBB34E193L},{-5L},{6L},{0xAB29AFF8L}},{{0xEADB0F8BL},{0xBB34E193L},{-4L},{0x4E5552EEL},{4L},{-4L},{0x001D0AB5L},{0L}},{{0L},{-1L},{0xDAB9027DL},{0x0D7ADAACL},{0x001D0AB5L},{3L},{-1L},{3L}}}};
static union U2 g_2281 = {-8L};/* VOLATILE GLOBAL g_2281 */
static union U2 g_2282 = {0xF033530BL};/* VOLATILE GLOBAL g_2282 */
static union U2 g_2283 = {1L};/* VOLATILE GLOBAL g_2283 */
static union U2 g_2284 = {0x6C6A2E21L};/* VOLATILE GLOBAL g_2284 */
static union U2 g_2285 = {0xC08D2476L};/* VOLATILE GLOBAL g_2285 */
static union U2 g_2286[6][3] = {{{-10L},{0x6C77B0BAL},{-10L}},{{-10L},{0x4A20C8D9L},{0x6C77B0BAL}},{{0x4A20C8D9L},{-10L},{-10L}},{{0x6C77B0BAL},{-10L},{0x39EE6CF7L}},{{6L},{0x4A20C8D9L},{-6L}},{{0x6C77B0BAL},{0x6C77B0BAL},{-6L}}};
static union U2 g_2287[9][5][1] = {{{{0x223FE2AFL}},{{1L}},{{0x4E9E33F7L}},{{2L}},{{0x68E83701L}}},{{{1L}},{{0x68E83701L}},{{2L}},{{0x4E9E33F7L}},{{1L}}},{{{0x223FE2AFL}},{{1L}},{{0x7869C727L}},{{0x9E6C6DA6L}},{{0x4E9E33F7L}}},{{{0x9E6C6DA6L}},{{0x7869C727L}},{{1L}},{{0x223FE2AFL}},{{1L}}},{{{0x4E9E33F7L}},{{2L}},{{0x68E83701L}},{{1L}},{{0x68E83701L}}},{{{2L}},{{0x4E9E33F7L}},{{1L}},{{0x223FE2AFL}},{{1L}}},{{{0x7869C727L}},{{0x9E6C6DA6L}},{{0x4E9E33F7L}},{{0x9E6C6DA6L}},{{0x7869C727L}}},{{{1L}},{{0x223FE2AFL}},{{1L}},{{0x4E9E33F7L}},{{2L}}},{{{0x68E83701L}},{{1L}},{{0x68E83701L}},{{2L}},{{0x4E9E33F7L}}}};
static volatile uint64_t g_2293 = 0x0BE0EC4D18DC958FLL;/* VOLATILE GLOBAL g_2293 */
static struct S0 g_2296 = {-1};/* VOLATILE GLOBAL g_2296 */
static struct S0 * volatile g_2297 = &g_692;/* VOLATILE GLOBAL g_2297 */
static volatile struct S0 g_2298 = {7};/* VOLATILE GLOBAL g_2298 */
static volatile struct S0 * volatile g_2299 = &g_1251;/* VOLATILE GLOBAL g_2299 */
static volatile struct S0 * volatile g_2301[8] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
static union U3 *g_2349 = &g_1499;
static struct S0 g_2350 = {0};/* VOLATILE GLOBAL g_2350 */
static union U3 ** const *g_2375 = &g_1648;
static union U3 ** const **g_2374[7] = {&g_2375,&g_2375,&g_2375,&g_2375,&g_2375,&g_2375,&g_2375};
static union U3 **g_2380 = &g_2349;
static union U3 **g_2381[8] = {&g_2349,&g_2349,&g_2349,&g_2349,&g_2349,&g_2349,&g_2349,&g_2349};
static union U3 **g_2382 = &g_2349;
static union U3 *** const g_2379[7] = {&g_2381[7],&g_2382,&g_2381[7],&g_2381[7],&g_2382,&g_2381[7],&g_2381[7]};
static union U3 *** const *g_2378 = &g_2379[4];
static union U2 g_2393 = {0xD096BB92L};/* VOLATILE GLOBAL g_2393 */
static struct S0 g_2467 = {5};/* VOLATILE GLOBAL g_2467 */
static struct S0 g_2533 = {4};/* VOLATILE GLOBAL g_2533 */
static volatile int32_t g_2535 = 0x37D8999AL;/* VOLATILE GLOBAL g_2535 */
static struct S0 * volatile g_2558 = &g_1454[4];/* VOLATILE GLOBAL g_2558 */
static int8_t g_2582[1] = {0L};
static union U3 ** const ***g_2590 = &g_2374[0];
static volatile struct S0 g_2592 = {-0};/* VOLATILE GLOBAL g_2592 */
static volatile int32_t g_2621 = 0x0072052BL;/* VOLATILE GLOBAL g_2621 */
static const int32_t *g_2641 = &g_1247[0];
static const int32_t **g_2640 = &g_2641;
static const int32_t *** volatile g_2639 = &g_2640;/* VOLATILE GLOBAL g_2639 */
static int8_t ***g_2690 = (void*)0;
static int8_t ****g_2689[5] = {&g_2690,&g_2690,&g_2690,&g_2690,&g_2690};
static int8_t *****g_2688[9] = {&g_2689[1],&g_2689[1],&g_2689[1],&g_2689[1],&g_2689[1],&g_2689[1],&g_2689[1],&g_2689[1],&g_2689[1]};
static int8_t *****g_2691 = &g_2689[0];
static int64_t g_2744[2][9] = {{5L,7L,0xEF5EBC862873473ELL,7L,5L,0xEF5EBC862873473ELL,4L,4L,0xEF5EBC862873473ELL},{5L,7L,0xEF5EBC862873473ELL,7L,5L,0xEF5EBC862873473ELL,4L,4L,0xEF5EBC862873473ELL}};
static union U3 g_2792 = {0L};/* VOLATILE GLOBAL g_2792 */
static uint32_t g_2805[7][3] = {{0x6EFACD24L,0x6EFACD24L,0x6EFACD24L},{4294967289UL,4294967289UL,4294967289UL},{0x6EFACD24L,0x6EFACD24L,0x6EFACD24L},{4294967289UL,4294967289UL,4294967289UL},{0x6EFACD24L,0x6EFACD24L,0x6EFACD24L},{4294967289UL,4294967289UL,4294967289UL},{0x6EFACD24L,0x6EFACD24L,0x6EFACD24L}};
static volatile union U3 g_2815 = {1L};/* VOLATILE GLOBAL g_2815 */
static const uint16_t **g_2841[3][1] = {{(void*)0},{(void*)0},{(void*)0}};
static const uint16_t g_2845[4] = {0UL,0UL,0UL,0UL};
static uint32_t g_2898 = 0xE4A4376BL;
static union U2 ** volatile g_2900[3][10][6] = {{{&g_741,(void*)0,&g_741,(void*)0,&g_741,&g_741},{&g_741,&g_741,&g_741,&g_741,(void*)0,&g_741},{&g_741,&g_741,&g_741,&g_741,&g_741,&g_741},{&g_741,&g_741,&g_741,(void*)0,&g_741,&g_741},{&g_741,&g_741,(void*)0,&g_741,(void*)0,&g_741},{&g_741,&g_741,&g_741,&g_741,&g_741,&g_741},{&g_741,(void*)0,&g_741,&g_741,&g_741,&g_741},{&g_741,(void*)0,&g_741,(void*)0,&g_741,&g_741},{&g_741,&g_741,&g_741,&g_741,(void*)0,&g_741},{&g_741,&g_741,&g_741,&g_741,(void*)0,(void*)0}},{{&g_741,(void*)0,(void*)0,&g_741,(void*)0,&g_741},{&g_741,&g_741,&g_741,&g_741,&g_741,&g_741},{&g_741,&g_741,(void*)0,(void*)0,&g_741,(void*)0},{&g_741,&g_741,&g_741,&g_741,&g_741,(void*)0},{&g_741,&g_741,&g_741,&g_741,&g_741,&g_741},{&g_741,&g_741,&g_741,&g_741,&g_741,(void*)0},{&g_741,&g_741,&g_741,&g_741,(void*)0,(void*)0},{&g_741,(void*)0,(void*)0,&g_741,(void*)0,&g_741},{&g_741,&g_741,&g_741,&g_741,&g_741,&g_741},{&g_741,&g_741,(void*)0,(void*)0,&g_741,(void*)0}},{{&g_741,&g_741,&g_741,&g_741,&g_741,(void*)0},{&g_741,&g_741,&g_741,&g_741,&g_741,&g_741},{&g_741,&g_741,&g_741,&g_741,&g_741,(void*)0},{&g_741,&g_741,&g_741,&g_741,(void*)0,(void*)0},{&g_741,(void*)0,(void*)0,&g_741,(void*)0,&g_741},{&g_741,&g_741,&g_741,&g_741,&g_741,&g_741},{&g_741,&g_741,(void*)0,(void*)0,&g_741,(void*)0},{&g_741,&g_741,&g_741,&g_741,&g_741,(void*)0},{&g_741,&g_741,&g_741,&g_741,&g_741,&g_741},{&g_741,&g_741,&g_741,&g_741,&g_741,(void*)0}}};
static const volatile union U2 g_2932 = {-3L};/* VOLATILE GLOBAL g_2932 */


/* --- FORWARD DECLARATIONS --- */
static int32_t  func_1(void);
static int32_t  func_2(uint8_t  p_3, uint8_t  p_4, uint64_t  p_5);
static uint32_t  func_9(uint64_t  p_10, uint32_t  p_11, uint32_t  p_12);
static uint32_t  func_16(uint32_t  p_17, uint64_t * p_18, struct S1  p_19, uint64_t * const  p_20, uint32_t  p_21);
static uint64_t * func_22(uint64_t * p_23, uint32_t  p_24, int64_t  p_25);
static uint64_t * func_26(int16_t  p_27);
static int16_t  func_30(uint64_t  p_31);
static const int32_t  func_32(uint32_t  p_33, uint64_t * p_34, uint64_t * const  p_35, struct S1  p_36, uint64_t * p_37);
static uint64_t * func_38(uint32_t  p_39, uint64_t * p_40);
static uint64_t * func_41(int32_t  p_42, uint64_t * const  p_43);


/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/* 
 * reads : g_13 g_1057 g_63.f0 g_1071 g_790 g_163 g_75 g_217 g_906 g_1079 g_1082 g_1084 g_836.f2 g_109 g_62 g_1080 g_1081 g_162 g_390 g_391 g_919 g_56 g_275 g_1116 g_809 g_334.f0 g_741 g_49 g_763 g_700.f0 g_937 g_626 g_1137 g_1138 g_1032 g_48 g_57 g_554 g_47 g_50 g_347 g_196 g_133 g_148 g_1209 g_153 g_270 g_128 g_1305 g_1312 g_276.f0 g_1335 g_171 g_94 g_68 g_700 g_1421 g_292 g_1435 g_1436 g_1454 g_1336 g_1337 g_1481 g_1488 g_63 g_1498 g_692 g_1227 g_975.f0 g_158 g_219 g_1551 g_234 g_1620 g_1630 g_1247 g_1663 g_1668 g_1621 g_199 g_72 g_1689 g_1690 g_1691 g_1679 g_1648 g_1704 g_1488.f2 g_1728 g_987.f0 g_1040 g_1499.f0 g_2073 g_2078 g_2101 g_760.f0 g_1954.f0 g_2207 g_898 g_899 g_1986.f0 g_2254 g_2293 g_2296 g_2297 g_2298 g_2299 g_1338 g_2276.f0 g_2350 g_2202 g_2203 g_232 g_2374 g_2393 g_2201 g_2375 g_2286.f0 g_15 g_2467 g_1905 g_2533 g_2271.f2 g_2558 g_2592 g_2278.f2 g_836 g_2621 g_161.f0 g_2639 g_2744 g_900 g_901 g_2792 g_2271 g_2805 g_2815 g_2841 g_71 g_1939 g_2641 g_2898 g_740 g_2590 g_2932 g_2274.f2
 * writes: g_15 g_1057 g_836.f2 g_63.f0 g_217 g_906 g_1079 g_741 g_275 g_75 g_1005 g_334.f0 g_50 g_763 g_554 g_679.f2 g_196 g_163 g_133 g_692 g_1312 g_148 g_153 g_158 g_56 g_232 g_919 g_987 g_63 g_1137 g_1338 g_1466 g_809 g_626 g_1228 g_219 g_57 g_1620 g_1648 g_1663 g_1669 g_1679 g_72 g_1421 g_1498 g_47 g_937 g_334 g_70 g_1488.f2 g_226 g_1881 g_1499.f0 g_1127.f2 g_2101 g_2111 g_2202 g_2208 g_1621 g_171 g_2254 g_2293 g_1251 g_2349 g_2378 g_2285.f2 g_2278.f2 g_2271.f2 g_1454 g_836.f0 g_2590 g_2640 g_62 g_1032 g_2805 g_2274.f2 g_2283.f2
 */
static int32_t  func_1(void)
{ /* block id: 0 */
    uint32_t l_6 = 4294967294UL;
    uint64_t *l_14 = &g_15[2];
    uint64_t *l_2110 = (void*)0;
    uint64_t **l_2109[1][8] = {{&l_2110,&l_2110,&l_2110,&l_2110,&l_2110,&l_2110,&l_2110,&l_2110}};
    struct S1 l_2116 = {4294967295UL};
    uint32_t *l_2120 = (void*)0;
    uint32_t *l_2121 = (void*)0;
    uint32_t *l_2122[3][10] = {{&l_2116.f0,(void*)0,&g_334[3][3].f0,(void*)0,&l_2116.f0,&l_2116.f0,(void*)0,&g_334[3][3].f0,(void*)0,&l_2116.f0},{&l_2116.f0,(void*)0,&g_334[3][3].f0,(void*)0,&l_2116.f0,&l_2116.f0,(void*)0,&g_334[3][3].f0,(void*)0,&l_2116.f0},{&l_2116.f0,(void*)0,&g_334[3][3].f0,(void*)0,&l_2116.f0,&l_2116.f0,(void*)0,&g_334[3][3].f0,(void*)0,&l_2116.f0}};
    int32_t l_2123 = 0xFF4A4FE3L;
    union U2 *l_2308[9];
    const uint32_t l_2319 = 0xEC19D3C9L;
    int32_t *l_2404 = (void*)0;
    int32_t ** const l_2403 = &l_2404;
    int32_t ** const *l_2402 = &l_2403;
    int32_t l_2416 = 0x0AC639BBL;
    int32_t l_2418 = 0x6607F19AL;
    int16_t l_2420 = 0xB848L;
    int32_t l_2423 = 9L;
    int32_t l_2424 = 0x69DA250BL;
    int32_t l_2425 = 0x9A41C1ADL;
    int32_t l_2426[5];
    int64_t *l_2433 = (void*)0;
    int64_t **l_2432 = &l_2433;
    int16_t l_2539 = 0xC40BL;
    uint32_t l_2573[1][9][9] = {{{4294967290UL,0xA9032EA9L,4294967295UL,4294967295UL,4294967290UL,1UL,0xA9032EA9L,0xD6983E6CL,4294967295UL},{4294967289UL,0xF04A2676L,4294967295UL,4294967292UL,4294967286UL,3UL,4294967286UL,4294967292UL,4294967295UL},{4294967290UL,4294967290UL,0xA9032EA9L,4294967295UL,4294967295UL,4294967290UL,1UL,0xA9032EA9L,0xD6983E6CL},{1UL,4294967292UL,0x745DF2E2L,0x8FCAA842L,1UL,4294967292UL,7UL,4294967292UL,1UL},{0xD6983E6CL,0UL,0UL,0xD6983E6CL,4294967290UL,4294967295UL,0UL,8UL,0xD6983E6CL},{4294967289UL,0x8FCAA842L,4294967286UL,0x8FCAA842L,4294967289UL,3UL,0UL,0xF04A2676L,0UL},{8UL,4294967290UL,0x063998BAL,0x063998BAL,4294967290UL,8UL,1UL,0x063998BAL,8UL},{4294967295UL,3UL,1UL,0xF04A2676L,1UL,3UL,4294967295UL,0x8FCAA842L,4294967295UL},{0xD6983E6CL,1UL,4294967295UL,8UL,8UL,4294967295UL,1UL,0xD6983E6CL,8UL}}};
    int8_t l_2578 = 0x01L;
    int32_t *l_2602[1];
    const uint32_t l_2620 = 4294967295UL;
    int8_t l_2660 = 9L;
    uint16_t l_2706 = 0xAFB5L;
    struct S1 *l_2759[10];
    int64_t l_2765 = 0L;
    uint32_t l_2806 = 0UL;
    uint8_t l_2819 = 252UL;
    uint32_t l_2853[2];
    uint64_t l_2882 = 18446744073709551615UL;
    uint16_t *l_2883 = &g_919[1];
    uint16_t l_2886 = 0UL;
    int64_t l_2893 = (-4L);
    uint32_t l_2894 = 0x3CA8509AL;
    uint64_t l_2895 = 0x4372EEFF82E9B829LL;
    uint32_t l_2896 = 4294967290UL;
    int8_t l_2897 = 0x95L;
    uint8_t l_2899 = 247UL;
    int16_t l_2922 = 0xB37CL;
    uint8_t l_2923 = 0xFAL;
    int8_t l_2993 = 1L;
    int8_t l_2995 = 0x0BL;
    uint16_t l_3008 = 0xADBBL;
    int i, j, k;
    for (i = 0; i < 9; i++)
        l_2308[i] = &g_2270[0][3][3];
    for (i = 0; i < 5; i++)
        l_2426[i] = 0L;
    for (i = 0; i < 1; i++)
        l_2602[i] = &g_56;
    for (i = 0; i < 10; i++)
        l_2759[i] = &l_2116;
    for (i = 0; i < 2; i++)
        l_2853[i] = 0x555DFCBCL;
    if (func_2(l_6, (safe_mul_func_uint32_t_u_u(func_9(((*l_14) = g_13), (l_2123 = func_16(l_6, func_22((g_2111[0] = func_26((safe_mod_func_uint16_t_u_u(g_13, func_30(l_6))))), g_1247[0], (safe_lshift_func_uint16_t_u_u((safe_mul_func_int16_t_s_s(0x8FC5L, 0x9EDEL)), l_6))), l_2116, &g_171, g_1630)), g_1728), 0L)), g_1728))
    { /* block id: 1117 */
        int16_t l_2315 = 0x9C5AL;
        struct S0 *l_2316 = &g_1043;
        int8_t l_2333 = 8L;
        int32_t l_2335 = 3L;
        int32_t l_2336 = 0L;
        int16_t l_2339[5][7][5] = {{{0x0B8FL,1L,0L,(-7L),0x56BEL},{(-9L),6L,0x8BAAL,(-7L),(-4L)},{0xAEE3L,0x8BAAL,1L,(-7L),0xD367L},{(-7L),0L,0L,(-7L),1L},{0xDCDAL,0L,6L,(-7L),1L},{0x0B8FL,1L,0L,(-7L),0x56BEL},{(-9L),6L,0x8BAAL,(-7L),(-4L)}},{{0xAEE3L,0x8BAAL,1L,(-7L),0xD367L},{(-7L),0L,0L,(-7L),1L},{0xDCDAL,0L,6L,(-7L),1L},{0x0B8FL,1L,0L,(-7L),0x56BEL},{(-9L),6L,0x8BAAL,(-7L),(-4L)},{0xAEE3L,0x8BAAL,1L,(-7L),0xD367L},{(-7L),0L,0L,(-7L),1L}},{{0xDCDAL,0L,6L,(-7L),1L},{0x0B8FL,1L,0L,(-7L),0x56BEL},{(-9L),6L,0x8BAAL,(-7L),(-4L)},{0xAEE3L,0x8BAAL,1L,(-7L),0xD367L},{(-7L),0L,0L,(-7L),1L},{0xDCDAL,0L,6L,(-7L),1L},{0x0B8FL,1L,0L,(-7L),0x56BEL}},{{(-9L),6L,0x8BAAL,(-7L),(-4L)},{0xAEE3L,0x8BAAL,1L,(-7L),0xD367L},{(-7L),0L,0L,(-7L),1L},{0xDCDAL,0L,6L,(-7L),1L},{0x0B8FL,1L,0L,(-7L),0x56BEL},{(-9L),6L,0x8BAAL,(-7L),(-4L)},{0xAEE3L,0x8BAAL,(-9L),0x24F8L,4L}},{{0x24F8L,(-7L),(-7L),0x24F8L,0L},{0x2D12L,0xAEE3L,0x0B8FL,0x24F8L,0xE1B8L},{(-6L),(-9L),0xAEE3L,0x24F8L,0x6F19L},{0L,0x0B8FL,0xDCDAL,0x24F8L,(-10L)},{0x4320L,0xDCDAL,(-9L),0x24F8L,4L},{0x24F8L,(-7L),(-7L),0x24F8L,0L},{0x2D12L,0xAEE3L,0x0B8FL,0x24F8L,0xE1B8L}}};
        int64_t l_2419 = 0x7160B4E7AAC79CABLL;
        int32_t l_2422[5][6][6] = {{{1L,(-6L),1L,0xF073D7F3L,0x745FDAD9L,0x1C627C02L},{0x91DC3236L,0x5CB6FE52L,0xCFA25F1CL,1L,(-8L),(-6L)},{1L,4L,0x2B403E00L,0xEF722533L,(-1L),0x7B642941L},{0L,0xA0F4AB8AL,0xDB0E09ECL,0xF528355BL,0x12A3A5D0L,2L},{(-1L),(-1L),1L,0x5A4EB599L,1L,0x5A4EB599L},{0x59B2FF8AL,0L,0x59B2FF8AL,0L,1L,7L}},{{0xFA13B5C5L,0x0A54DC80L,0x669B4658L,0x1A302CC0L,(-1L),(-9L)},{0x745FDAD9L,(-1L),0xF528355BL,0x1A302CC0L,0x0E221C48L,0L},{0xFA13B5C5L,1L,0x1C627C02L,0L,(-8L),4L},{0x59B2FF8AL,0xFA13B5C5L,2L,0x5A4EB599L,(-5L),6L},{(-1L),0xB31F9C66L,(-3L),0xF528355BL,0xB3301B3EL,(-1L)},{0L,(-1L),1L,0xEF722533L,0xD723578DL,(-8L)}},{{1L,0x2B403E00L,0x59B2FF8AL,1L,7L,0xB3301B3EL},{0x91DC3236L,1L,0L,0xF073D7F3L,(-1L),0x0E221C48L},{1L,(-1L),0xB7C032DAL,4L,0x28FC56EBL,2L},{5L,0x0E221C48L,1L,0x611DE466L,0xEF722533L,(-6L)},{0x59B2FF8AL,0x55992B28L,(-1L),0xDF23C8F3L,1L,0x91DC3236L},{0x2B403E00L,0x0A54DC80L,(-1L),0x12A3A5D0L,0x12A3A5D0L,(-1L)}},{{(-5L),(-5L),0xF528355BL,0x28FC56EBL,0x9CC5A870L,0xDF23C8F3L},{0L,0L,1L,0L,7L,0xF528355BL},{0x1A302CC0L,0L,1L,(-6L),(-5L),0xDF23C8F3L},{(-9L),(-6L),0xF528355BL,4L,0x5A4EB599L,(-1L)},{4L,0x5A4EB599L,(-1L),(-1L),0x745FDAD9L,0x91DC3236L},{1L,0xFA13B5C5L,(-1L),0x5CB6FE52L,2L,(-6L)}},{{2L,1L,1L,1L,0x373E16EAL,2L},{0L,(-5L),0xB7C032DAL,0xDB0E09ECL,(-6L),0x1C627C02L},{0x28FC56EBL,0x31BCA2B7L,(-1L),0xF528355BL,(-1L),0L},{0xB31F9C66L,0xEF722533L,0x5A4EB599L,0L,0x9CC5A870L,(-1L)},{0x55B83F95L,1L,(-1L),0xB31F9C66L,0x611DE466L,0x12A3A5D0L},{1L,0L,0xB7C032DAL,0xB3301B3EL,0x1C627C02L,0L}}};
        int64_t *l_2431[4][4][9] = {{{&g_1499.f0,&l_2419,&g_232,&l_2419,&g_232,&l_2419,&g_1499.f0,&l_2419,&g_1499.f0},{(void*)0,(void*)0,&l_2419,(void*)0,(void*)0,(void*)0,&l_2419,(void*)0,(void*)0},{&l_2419,&l_2419,&g_232,&l_2419,&g_232,&g_232,&g_232,&l_2419,&g_232},{&g_232,&l_2419,&g_232,&g_232,&g_1499.f0,(void*)0,(void*)0,(void*)0,&g_1499.f0}},{{&l_2419,&g_232,&g_232,&l_2419,&l_2419,&g_1499.f0,&l_2419,&g_232,&l_2419},{(void*)0,(void*)0,&g_232,&g_232,&g_1499.f0,(void*)0,(void*)0,&l_2419,&g_232},{&g_1499.f0,&g_1499.f0,&g_232,&l_2419,&l_2419,&g_232,&g_1499.f0,&g_1499.f0,&l_2419},{&g_232,&g_232,&l_2419,&l_2419,&g_1499.f0,(void*)0,(void*)0,&g_1499.f0,&g_232}},{{&l_2419,&g_1499.f0,&g_232,&l_2419,&g_232,&l_2419,&l_2419,&g_232,&l_2419},{&l_2419,(void*)0,&l_2419,(void*)0,(void*)0,&g_1499.f0,(void*)0,(void*)0,&g_232},{&g_232,&g_1499.f0,&l_2419,&g_1499.f0,&g_232,&l_2419,&g_232,&l_2419,&l_2419},{&l_2419,&g_232,&g_232,(void*)0,&g_232,&g_232,&l_2419,&l_2419,&g_1499.f0}},{{&g_232,&g_1499.f0,&g_1499.f0,&l_2419,&l_2419,&l_2419,&g_1499.f0,&g_1499.f0,&g_232},{&g_232,(void*)0,(void*)0,&l_2419,&g_232,&g_1499.f0,&g_232,&l_2419,(void*)0},{&g_232,&g_232,&l_2419,&l_2419,&g_1499.f0,&l_2419,&g_232,&l_2419,&g_1499.f0},{&g_232,&l_2419,&g_232,&g_232,&l_2419,(void*)0,&l_2419,(void*)0,&l_2419}}};
        int64_t **l_2430 = &l_2431[0][2][8];
        int16_t l_2451 = 0xCFDFL;
        uint64_t *l_2468 = &g_626[6][0][4];
        uint64_t l_2509 = 0xBCD9AEAA4ADF78E6LL;
        int32_t l_2510 = 0xA81A0D94L;
        int32_t l_2511[3];
        uint8_t l_2540 = 0UL;
        const uint16_t *l_2556 = &g_275;
        uint64_t l_2583 = 18446744073709551615UL;
        volatile struct S0 *l_2593 = &g_1421;
        int i, j, k;
        for (i = 0; i < 3; i++)
            l_2511[i] = 0xAAE6BFBCL;
        for (l_2116.f0 = (-28); (l_2116.f0 <= 4); l_2116.f0 = safe_add_func_int16_t_s_s(l_2116.f0, 8))
        { /* block id: 1120 */
            union U2 * const l_2307 = &g_2286[1][2];
            union U2 **l_2309[5][10][3] = {{{(void*)0,(void*)0,&l_2308[6]},{(void*)0,&g_741,&l_2308[1]},{&l_2308[6],&g_741,&l_2308[0]},{(void*)0,&l_2308[3],&l_2308[3]},{&l_2308[3],(void*)0,(void*)0},{(void*)0,&l_2308[3],(void*)0},{&g_741,&l_2308[0],&l_2308[3]},{&l_2308[3],&l_2308[5],&l_2308[3]},{(void*)0,&g_741,(void*)0},{&l_2308[0],&g_741,&l_2308[1]}},{{(void*)0,(void*)0,(void*)0},{(void*)0,&g_741,&l_2308[0]},{(void*)0,&g_741,&l_2308[3]},{&l_2308[7],&l_2308[6],&l_2308[3]},{&g_741,(void*)0,&g_741},{&g_741,&g_741,&g_741},{&l_2308[3],&l_2308[3],&l_2308[3]},{&g_741,&g_741,&l_2308[3]},{&l_2308[3],&l_2308[3],&l_2308[0]},{(void*)0,&l_2308[3],(void*)0}},{{(void*)0,&l_2308[3],&l_2308[1]},{&l_2308[7],&l_2308[1],(void*)0},{(void*)0,&l_2308[0],&l_2308[3]},{&l_2308[0],&g_741,&l_2308[3]},{(void*)0,&l_2308[3],&g_741},{&l_2308[7],(void*)0,&l_2308[3]},{(void*)0,(void*)0,&g_741},{(void*)0,(void*)0,&l_2308[3]},{&l_2308[3],&g_741,(void*)0},{&g_741,&g_741,&l_2308[5]}},{{&l_2308[3],&g_741,(void*)0},{&g_741,&g_741,&l_2308[3]},{&g_741,&g_741,(void*)0},{&l_2308[7],&g_741,(void*)0},{(void*)0,(void*)0,&l_2308[0]},{(void*)0,(void*)0,&g_741},{(void*)0,(void*)0,&g_741},{&l_2308[0],&l_2308[3],&g_741},{(void*)0,&g_741,(void*)0},{&l_2308[3],&l_2308[0],&g_741}},{{&l_2308[6],&l_2308[1],&g_741},{(void*)0,&l_2308[3],&g_741},{&g_741,&l_2308[3],&l_2308[0]},{&g_741,&l_2308[3],(void*)0},{&l_2308[5],&g_741,(void*)0},{&l_2308[3],&l_2308[3],&l_2308[3]},{&l_2308[3],&g_741,(void*)0},{&l_2308[3],(void*)0,&l_2308[5]},{&l_2308[3],&l_2308[6],(void*)0},{&l_2308[5],&g_741,&l_2308[3]}}};
            int16_t *l_2317 = (void*)0;
            int32_t l_2318 = (-7L);
            int32_t *****l_2337 = &g_1228;
            struct S1 *l_2361 = &g_334[3][3];
            int32_t l_2417 = 0x534EDEDAL;
            int32_t l_2421[2][4] = {{0x62A763A4L,0x62A763A4L,0x62A763A4L,0x62A763A4L},{0x62A763A4L,0x62A763A4L,0x62A763A4L,0x62A763A4L}};
            uint16_t l_2427 = 0xA5F4L;
            int64_t ** const l_2434 = &l_2431[3][1][4];
            int32_t l_2437[6] = {(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)};
            int32_t l_2452 = 0xBE9C3BF5L;
            uint32_t l_2512 = 0xF343B5F4L;
            uint32_t l_2522 = 4UL;
            uint8_t l_2525 = 0xBEL;
            uint32_t l_2528[8][3][1] = {{{0xBC5624AAL},{0x49396FF2L},{0xBC5624AAL}},{{0x037DA4EEL},{0xBC5624AAL},{0x49396FF2L}},{{0xBC5624AAL},{0x037DA4EEL},{0xBC5624AAL}},{{0x49396FF2L},{0xBC5624AAL},{0x037DA4EEL}},{{0xBC5624AAL},{0x49396FF2L},{0xBC5624AAL}},{{0x037DA4EEL},{0xBC5624AAL},{0x49396FF2L}},{{0xBC5624AAL},{0x037DA4EEL},{0xBC5624AAL}},{{0x49396FF2L},{0xBC5624AAL},{0x037DA4EEL}}};
            int i, j, k;
            if ((((l_2116.f0 > (safe_rshift_func_int8_t_s_s(((((((-9L) == (((*g_1032) |= (l_2307 != ((*g_1084) = l_2308[3]))) && (safe_lshift_func_int32_t_s_u(((safe_mul_func_uint8_t_u_u((~l_2315), (((*g_1337) = (**g_1336)) == l_2316))) ^ l_6), 1)))) , (l_2318 = g_2293)) , (*g_49)) , g_700[0][0][2]) , l_2319), 0))) && l_2315) && 0x3E49A3ECL))
            { /* block id: 1125 */
                uint64_t l_2320 = 18446744073709551615UL;
                int32_t *l_2334 = &g_809[0];
                uint16_t *l_2338 = &g_919[8];
                union U3 ***l_2367 = (void*)0;
                union U3 ** const **l_2377 = &g_2375;
                int32_t ***l_2385[6] = {&g_790,&g_790,&g_790,&g_790,&g_790,&g_790};
                int i;
                if ((l_2320 && (safe_lshift_func_uint16_t_u_s((safe_add_func_int8_t_s_s(((*g_1032) |= (safe_lshift_func_int8_t_s_s((safe_add_func_uint16_t_u_u(0x3EF5L, ((*l_2338) = (safe_mul_func_int16_t_s_s(((((*l_2334) = (safe_mod_func_uint32_t_u_u(l_2333, g_75))) < (l_2335 = (l_2318 = l_2333))) == ((l_2336 = 0x215B2C1F8F721435LL) >= (g_2276.f0 != (g_937 = l_2315)))), ((void*)0 != l_2337)))))), 0))), l_2339[3][1][3])), l_6))))
                { /* block id: 1133 */
                    (*g_790) = &l_2123;
                }
                else
                { /* block id: 1135 */
                    union U3 *l_2348 = (void*)0;
                    union U3 **l_2347[9] = {&l_2348,&l_2348,&l_2348,&l_2348,&l_2348,&l_2348,&l_2348,&l_2348,&l_2348};
                    int64_t l_2351[5][5][1] = {{{0x950AC346A87F3317LL},{1L},{0x86FDFC8F590AF42DLL},{1L},{0x950AC346A87F3317LL}},{{1L},{0x86FDFC8F590AF42DLL},{1L},{0x950AC346A87F3317LL},{1L}},{{0x86FDFC8F590AF42DLL},{1L},{0x950AC346A87F3317LL},{1L},{0x86FDFC8F590AF42DLL}},{{1L},{0x950AC346A87F3317LL},{1L},{0x86FDFC8F590AF42DLL},{1L}},{{0x950AC346A87F3317LL},{1L},{0x86FDFC8F590AF42DLL},{1L},{0x950AC346A87F3317LL}}};
                    struct S1 *l_2360 = &g_334[0][0];
                    int64_t l_2362 = 0x4D38C07B383B7C05LL;
                    union U3 ** const ***l_2376[3];
                    int64_t *l_2386 = &g_1499.f0;
                    int i, j, k;
                    for (i = 0; i < 3; i++)
                        l_2376[i] = &g_2374[6];
                    l_2123 ^= l_6;
                    (*l_2334) = (safe_unary_minus_func_uint8_t_u((safe_add_func_int32_t_s_s((((safe_lshift_func_uint32_t_u_u((l_2351[0][0][0] = (safe_add_func_int16_t_s_s(g_13, ((g_153 > (l_6 != 65529UL)) <= ((g_2349 = ((**g_1679) = (*g_1648))) != (g_2350 , &g_2078)))))), 22)) > (safe_div_func_int32_t_s_s((safe_add_func_uint16_t_u_u((safe_add_func_uint16_t_u_u((((safe_sub_func_uint32_t_u_u((((*g_2202) || (((l_2360 == l_2361) , l_2362) , 1L)) , g_809[0]), (-1L))) & 4294967295UL) || g_906), (*l_2334))), l_2335)), (*l_2334)))) != 0UL), l_2333))));
                    (*l_2334) = ((safe_mul_func_int64_t_s_s((safe_sub_func_int64_t_s_s(((*l_2386) ^= (((void*)0 == l_2367) , (((((*g_1032) |= (safe_lshift_func_uint64_t_u_u(((safe_rshift_func_int8_t_s_u(l_2339[2][0][3], (((l_2377 = g_2374[2]) != (g_2378 = &l_2367)) & 0x30FAE559L))) <= ((l_2339[0][4][1] , (safe_rshift_func_int64_t_s_s((((l_2385[1] == l_2385[1]) >= l_2362) != 0x01L), (*g_2202)))) >= (*g_2202))), l_6))) | 0x54L) , l_2116.f0) && l_2362))), 0x9FC28B1F27604427LL)), (*g_2202))) > 0x96A5C97E8F174753LL);
                }
            }
            else
            { /* block id: 1147 */
                uint16_t l_2409 = 9UL;
                int32_t l_2410 = 0x62083163L;
                int32_t *l_2411 = &l_2336;
                int32_t *l_2412 = &l_2318;
                int32_t *l_2413 = &l_2318;
                int32_t *l_2414 = &g_809[0];
                int32_t *l_2415[3];
                uint8_t *l_2446 = &g_217[4][4];
                uint64_t l_2495 = 9UL;
                uint32_t l_2507 = 0x4F77C9F1L;
                int i;
                for (i = 0; i < 3; i++)
                    l_2415[i] = &l_2123;
                for (g_2285.f2 = 0; (g_2285.f2 >= 0); g_2285.f2 -= 1)
                { /* block id: 1150 */
                    int32_t ***l_2405[4][2] = {{(void*)0,(void*)0},{(void*)0,(void*)0},{(void*)0,(void*)0},{(void*)0,(void*)0}};
                    int i, j;
                    for (g_2278.f2 = 2; (g_2278.f2 <= 7); g_2278.f2 += 1)
                    { /* block id: 1153 */
                        const int8_t *l_2394 = &l_2333;
                        int32_t ** const *l_2401 = &g_790;
                        int i;
                        l_2410 = (((safe_add_func_uint64_t_u_u((safe_lshift_func_int32_t_s_u(((-1L) != (safe_add_func_int64_t_s_s(((g_2393 , (*g_1080)) != l_2394), ((safe_div_func_int8_t_s_s((safe_mul_func_uint16_t_u_u(((l_2402 = l_2401) != l_2405[2][0]), g_763[0])), (*g_1032))) & ((~(safe_mod_func_int16_t_s_s(l_2409, g_763[0]))) != 0x0DFCL))))), g_2201)), l_2409)) > g_763[0]) && g_1704[4].f0);
                        (**g_2375) = (void*)0;
                        return g_2286[4][2].f0;
                    }
                }
                l_2427--;
                if ((((l_2432 = l_2430) == l_2434) != (safe_sub_func_int64_t_s_s(l_2437[4], (((*g_2202) <= (safe_add_func_uint32_t_u_u(0x6CCCB29BL, ((safe_mod_func_int16_t_s_s(((l_2335 = (((safe_div_func_uint8_t_u_u(((((*l_2446)++) > ((((*g_1691) , (0x4D76207D9FB0953ALL && (safe_lshift_func_uint16_t_u_s(((g_1057 = ((-1L) != g_809[0])) != l_2451), 6)))) || g_1728) == 0L)) ^ 0L), l_2437[2])) < 0x26A4AF0CL) ^ l_2421[1][1])) > g_158), (*l_2413))) , 3UL)))) && 0xB857579238D5B6C9LL)))))
                { /* block id: 1165 */
                    for (l_2425 = 7; (l_2425 >= 1); l_2425 -= 1)
                    { /* block id: 1168 */
                        (*l_2414) = 0x66EAB57CL;
                        return g_94[5];
                    }
                    if (l_2452)
                        break;
                }
                else
                { /* block id: 1173 */
                    int16_t l_2453 = 0x9F4BL;
                    int32_t l_2454 = 1L;
                    int32_t l_2455 = 0xA1AECC36L;
                    int32_t l_2456 = 1L;
                    uint32_t l_2457 = 4294967295UL;
                    int16_t *l_2479 = &l_2420;
                    int32_t l_2480 = 0xB4E6CA02L;
                    int32_t l_2508 = 0xD0B9F633L;
                    l_2457++;
                    if ((g_15[2] != (safe_mod_func_uint16_t_u_u((*l_2413), (safe_add_func_uint64_t_u_u((((+l_2456) || (safe_mul_func_int8_t_s_s(((*g_1032) = (g_2467 , ((g_2111[0] = &g_50[1][2][1]) == (l_2468 = &g_171)))), (safe_lshift_func_int8_t_s_u((safe_rshift_func_uint32_t_u_s(l_2451, 25)), 6))))) ^ l_2455), (safe_rshift_func_int16_t_s_s((g_937 = ((((*l_2446) = (safe_add_func_int32_t_s_s((l_2336 = (((safe_mod_func_int16_t_s_s(((*l_2479) = g_919[4]), l_2480)) & 0x897C825FL) | 4294967290UL)), g_1247[6]))) || 0L) >= (-1L))), g_63.f0))))))))
                    { /* block id: 1182 */
                        union U3 *** const *l_2487 = &g_2379[4];
                        int32_t l_2504 = 0xE1A5A078L;
                        (*l_2412) = ((safe_mod_func_int8_t_s_s((((l_2457 && ((*g_2202) >= ((void*)0 != (*g_1905)))) && (-1L)) > (((safe_mod_func_int64_t_s_s(((*g_1481) , ((l_2487 == &g_1679) && ((void*)0 != &l_2116))), (*g_2202))) < 4L) || g_94[1])), (*g_1032))) | (*g_1032));
                        (*l_2412) ^= (safe_div_func_uint16_t_u_u(((safe_mul_func_uint16_t_u_u(0x7A5DL, g_809[0])) <= (((*g_1032) = ((+(((l_2454 >= ((l_2335 = l_2495) && ((0L & (safe_add_func_uint16_t_u_u(((safe_add_func_int8_t_s_s((((safe_lshift_func_uint16_t_u_s(0xFCECL, 14)) , (safe_rshift_func_uint16_t_u_s(((l_2339[0][0][4] , ((l_2504 , (safe_rshift_func_uint64_t_u_u(0x9E31B0FFAECFF908LL, (*g_49)))) & l_2507)) > (*g_1032)), 1))) & g_196), 0x54L)) < l_2452), l_2456))) , 8L))) > 0x25E4D65C08A14A3ALL) <= l_2508)) & l_2336)) <= l_2509)), l_2510));
                    }
                    else
                    { /* block id: 1187 */
                        return g_128[1][3][0].f0;
                    }
                    l_2512--;
                }
            }
            for (l_2512 = 0; (l_2512 != 22); l_2512++)
            { /* block id: 1195 */
                int32_t l_2518 = 0xD13DD1C4L;
                int32_t *l_2519 = &l_2318;
                int32_t *l_2520 = &l_2421[0][3];
                int32_t *l_2521[8][4] = {{&l_2318,&l_2318,&l_2318,&l_2318},{&l_2318,&l_2318,&l_2318,&l_2318},{&l_2318,&l_2318,&l_2318,&l_2318},{&l_2318,&l_2318,&l_2318,&l_2318},{&l_2318,&l_2318,&l_2318,&l_2318},{&l_2318,&l_2318,&l_2318,&l_2318},{&l_2318,&l_2318,&l_2318,&l_2318},{&l_2318,&l_2318,&l_2318,&l_2318}};
                int i, j;
                for (l_2335 = 8; (l_2335 >= 2); l_2335 -= 1)
                { /* block id: 1198 */
                    int8_t l_2517[9] = {(-7L),(-1L),(-7L),(-7L),(-1L),(-7L),(-7L),(-1L),(-7L)};
                    int i;
                    if (l_2517[2])
                        break;
                    if (l_2451)
                        break;
                    return l_2517[2];
                }
                l_2522++;
                ++l_2525;
            }
            l_2528[6][2][0] &= ((*g_1336) == (void*)0);
        }
        (*l_2403) = &l_2422[1][1][5];
        for (g_57 = 0; (g_57 <= 1); g_57 += 1)
        { /* block id: 1211 */
            int32_t l_2529 = 0x5BD42B83L;
            int32_t l_2579 = 0xC573E843L;
            int32_t l_2581[3];
            struct S1 l_2591 = {0x8513EE8BL};
            int i;
            for (i = 0; i < 3; i++)
                l_2581[i] = 6L;
            if (l_2529)
                break;
            for (g_148 = 1; (g_148 >= 0); g_148 -= 1)
            { /* block id: 1215 */
                int32_t l_2536 = (-1L);
                int32_t *l_2537 = &l_2336;
                int32_t *l_2538[1][6];
                int i, j;
                for (i = 0; i < 1; i++)
                {
                    for (j = 0; j < 6; j++)
                        l_2538[i][j] = (void*)0;
                }
                for (l_2510 = 3; (l_2510 >= 0); l_2510 -= 1)
                { /* block id: 1218 */
                    const int32_t *l_2532 = &l_2425;
                    int i, j, k;
                    if (g_626[(g_148 + 7)][(l_2510 + 1)][(l_2510 + 1)])
                    { /* block id: 1219 */
                        const int32_t *l_2530 = &l_2510;
                        const int32_t **l_2531[6] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
                        int i;
                        l_2532 = l_2530;
                    }
                    else
                    { /* block id: 1221 */
                        const int32_t **l_2534 = &g_226;
                        (*l_2534) = (g_2533 , l_2532);
                    }
                }
                l_2540++;
                return g_217[4][7];
            }
            for (g_2271.f2 = 0; (g_2271.f2 <= 1); g_2271.f2 += 1)
            { /* block id: 1230 */
                int32_t l_2570 = 0L;
                int32_t *l_2574 = &l_2423;
                int32_t *l_2575 = (void*)0;
                int32_t *l_2576 = &l_2425;
                int32_t *l_2577[10] = {(void*)0,&l_2529,(void*)0,(void*)0,&l_2529,(void*)0,(void*)0,&l_2529,(void*)0,(void*)0};
                int16_t l_2580[1][1][10] = {{{(-1L),(-1L),0xC950L,(-1L),(-1L),0xC950L,(-1L),(-1L),0xC950L,(-1L)}}};
                union U3 ** const ***l_2589 = &g_2374[6];
                int i, j, k;
                for (g_171 = 0; (g_171 <= 1); g_171 += 1)
                { /* block id: 1233 */
                    uint32_t * const l_2563 = &g_1663[7][0][1];
                    uint32_t * const *l_2562 = &l_2563;
                    int i, j, k;
                    if ((g_626[(g_171 + 7)][(g_171 + 2)][(g_57 + 2)] < ((&g_2203 == (void*)0) || (~g_626[(g_171 + 7)][(g_171 + 2)][(g_57 + 2)]))))
                    { /* block id: 1234 */
                        uint16_t l_2544[10] = {0x0E84L,0x0E84L,5UL,0xC787L,5UL,0x0E84L,0x0E84L,5UL,0xC787L,5UL};
                        int i;
                        return l_2544[2];
                    }
                    else
                    { /* block id: 1236 */
                        int32_t l_2547 = 0x45CEBF87L;
                        int8_t *l_2548 = &l_2333;
                        int32_t *l_2557 = &l_2426[2];
                        int i, j, k;
                        (*l_2557) &= (safe_mul_func_uint64_t_u_u((((*l_2548) ^= ((*g_1032) = (0xE2L || l_2547))) | (safe_add_func_uint8_t_u_u(((*g_2202) , (safe_add_func_int64_t_s_s((g_1499.f0 = (g_232 = ((*g_2202) , (*l_2404)))), (safe_add_func_uint16_t_u_u((safe_unary_minus_func_int8_t_s(((void*)0 == l_2556))), (((*l_2404) >= (l_2510 > l_2335)) <= (**l_2403))))))), g_1209[0].f0))), 0x4EF26BD19921E703LL));
                        (*g_2558) = g_128[(g_171 + 4)][(g_2271.f2 + 2)][g_171];
                    }
                    for (g_836.f0 = 1; (g_836.f0 >= 0); g_836.f0 -= 1)
                    { /* block id: 1246 */
                        uint16_t l_2559 = 0x0636L;
                        (*l_2404) = (l_2559 , (l_2333 & ((safe_mul_func_int32_t_s_s((((*g_49) >= ((l_2562 != (void*)0) , (~((0L & (+((safe_unary_minus_func_uint16_t_u((((0x051CL && (!(safe_div_func_int16_t_s_s(((l_2570 >= (safe_mul_func_uint16_t_u_u(l_2529, 0x05B2L))) || 0x8D3FL), l_2570)))) > l_2529) < g_626[(g_171 + 7)][(g_171 + 2)][(g_57 + 2)]))) & l_2511[0]))) | 1L)))) , l_2570), l_2573[0][7][8])) > l_2336)));
                    }
                }
                ++l_2583;
                (*l_2574) = ((*g_292) = (safe_mul_func_int16_t_s_s(0L, (g_700[0][0][2].f0 != l_2509))));
                for (l_2424 = 4; (l_2424 >= 1); l_2424 -= 1)
                { /* block id: 1255 */
                    for (l_2333 = 1; (l_2333 >= 0); l_2333 -= 1)
                    { /* block id: 1258 */
                        struct S0 *l_2588 = (void*)0;
                        int i, j, k;
                        (*l_2574) &= ((***l_2402) |= g_626[g_57][l_2424][(g_2271.f2 + 1)]);
                        l_2588 = ((***g_1335) = l_2316);
                    }
                    (***l_2402) |= 0xD6DA644EL;
                    (**l_2403) = (&g_2374[2] != (g_2590 = l_2589));
                    l_2591 = (****g_390);
                }
            }
        }
        (*l_2593) = g_2592;
    }
    else
    { /* block id: 1272 */
        int32_t *l_2594 = &g_56;
        int32_t *l_2595 = (void*)0;
        int32_t *l_2596[7][9][4] = {{{&l_2416,&g_809[0],(void*)0,&l_2123},{&l_2416,&l_2416,&g_809[0],&g_809[0]},{&g_809[0],(void*)0,&g_56,&g_809[0]},{&l_2416,&g_809[0],&l_2123,&l_2418},{(void*)0,&l_2418,&g_809[0],&l_2425},{&g_809[0],&l_2425,&l_2418,&l_2426[2]},{&l_2424,&l_2425,&l_2424,&l_2418},{&g_809[0],&l_2418,&l_2426[2],&g_809[0]},{&l_2424,(void*)0,&l_2423,&l_2418}},{{&g_56,&l_2418,&l_2423,&l_2123},{&l_2424,&l_2418,&l_2426[2],&l_2425},{&g_809[0],&g_75,&l_2424,&g_809[0]},{&l_2424,&g_809[0],&l_2418,(void*)0},{&g_809[0],(void*)0,&g_809[0],&l_2418},{(void*)0,&g_75,&l_2123,&l_2426[2]},{&l_2416,&l_2424,&g_56,&l_2123},{&g_809[0],&l_2425,&g_809[0],(void*)0},{&l_2416,(void*)0,(void*)0,&l_2416}},{{&l_2416,(void*)0,&l_2423,&l_2418},{&l_2418,&l_2416,&g_809[0],&l_2425},{&l_2418,&l_2425,&g_56,&l_2425},{&l_2424,&l_2416,(void*)0,&l_2418},{(void*)0,&l_2424,&g_809[0],&l_2423},{&g_56,&g_809[0],&l_2123,&l_2424},{&l_2426[0],&l_2425,&l_2123,&l_2123},{&l_2418,(void*)0,&g_809[0],&l_2425},{&l_2423,&g_809[0],&g_809[0],&l_2123}},{{&g_809[0],&l_2424,&g_809[0],&g_56},{(void*)0,(void*)0,&l_2418,(void*)0},{(void*)0,&g_809[0],&l_2123,(void*)0},{&g_809[0],&l_2418,(void*)0,&l_2123},{(void*)0,&l_2416,&l_2426[2],&l_2123},{(void*)0,&g_809[0],(void*)0,(void*)0},{&g_809[0],&l_2123,&l_2123,(void*)0},{(void*)0,&l_2425,&l_2418,&l_2425},{(void*)0,&l_2426[2],&g_809[0],&g_75}},{{&g_809[0],&l_2416,&g_809[0],(void*)0},{&l_2423,(void*)0,&g_809[0],&l_2123},{&l_2418,&g_809[0],&l_2123,(void*)0},{&l_2426[0],&l_2425,&l_2123,&l_2123},{&g_56,&g_56,&g_809[0],&g_75},{(void*)0,&g_809[0],&g_56,&l_2424},{&g_809[0],&l_2123,&l_2426[0],&g_56},{&l_2418,&l_2123,&l_2418,&l_2424},{&l_2123,&g_809[0],&l_2424,&g_75}},{{&g_809[0],&g_56,&g_809[0],&l_2123},{&l_2423,&l_2425,&l_2426[2],(void*)0},{&l_2123,&g_809[0],&l_2426[0],&l_2123},{&g_809[0],(void*)0,&l_2123,(void*)0},{&l_2424,&l_2416,&l_2418,&g_75},{&g_56,&l_2426[2],(void*)0,&l_2425},{&g_809[0],&l_2425,&g_809[0],(void*)0},{&l_2123,&l_2123,&g_809[0],(void*)0},{(void*)0,&g_809[0],&l_2424,&l_2123}},{{&l_2426[0],&l_2416,&l_2424,&l_2123},{(void*)0,&l_2418,&g_809[0],(void*)0},{&l_2123,&g_809[0],&g_809[0],(void*)0},{&g_809[0],(void*)0,(void*)0,&g_56},{&g_56,&l_2424,&l_2418,&l_2123},{&l_2424,&g_809[0],&l_2123,&l_2425},{&g_809[0],(void*)0,&l_2426[0],&l_2123},{&l_2123,&l_2425,&l_2426[2],&l_2424},{&l_2423,&g_809[0],&g_809[0],&l_2423}}};
        int16_t l_2597 = 1L;
        uint16_t l_2598[3];
        int8_t **l_2736 = (void*)0;
        int8_t ***l_2735 = &l_2736;
        int32_t *l_2826 = &g_1630;
        int32_t **l_2825 = &l_2826;
        int32_t ***l_2824 = &l_2825;
        int8_t l_2852 = 0xBFL;
        uint32_t l_2875 = 0UL;
        int i, j, k;
        for (i = 0; i < 3; i++)
            l_2598[i] = 0UL;
        l_2598[0]--;
        (*l_2403) = l_2594;
        for (g_2278.f2 = 0; (g_2278.f2 <= 2); g_2278.f2 += 1)
        { /* block id: 1277 */
            int32_t l_2601 = 6L;
            int32_t l_2625[3];
            union U2 **l_2631 = &l_2308[7];
            uint32_t l_2677[7] = {4294967293UL,4294967295UL,4294967293UL,4294967293UL,4294967295UL,4294967293UL,4294967293UL};
            uint16_t l_2687 = 1UL;
            union U3 ** const **l_2697[6][1][10] = {{{(void*)0,(void*)0,&g_2375,&g_2375,&g_2375,(void*)0,&g_2375,&g_2375,&g_2375,(void*)0}},{{&g_2375,&g_2375,&g_2375,&g_2375,&g_2375,(void*)0,&g_2375,(void*)0,&g_2375,&g_2375}},{{&g_2375,&g_2375,&g_2375,&g_2375,&g_2375,&g_2375,&g_2375,&g_2375,&g_2375,(void*)0}},{{&g_2375,&g_2375,&g_2375,(void*)0,(void*)0,&g_2375,(void*)0,(void*)0,&g_2375,&g_2375}},{{&g_2375,&g_2375,&g_2375,(void*)0,&g_2375,(void*)0,&g_2375,&g_2375,(void*)0,&g_2375}},{{(void*)0,&g_2375,&g_2375,(void*)0,&g_2375,(void*)0,&g_2375,&g_2375,&g_2375,&g_2375}}};
            int i, j, k;
            for (i = 0; i < 3; i++)
                l_2625[i] = 0xA9D41839L;
            if (l_2601)
                break;
            for (g_56 = 2; (g_56 >= 0); g_56 -= 1)
            { /* block id: 1281 */
                uint16_t l_2617 = 0x1DB8L;
                int32_t l_2626 = 0x46F0A65FL;
                uint64_t l_2635[2][4][10] = {{{0xC9357B0C2D237A9FLL,0x815CAE4B2D5BB77ALL,18446744073709551613UL,0x3CA4379F48632A2DLL,18446744073709551615UL,18446744073709551613UL,0x5DD66B3D4D4E18E9LL,18446744073709551613UL,18446744073709551615UL,0x3CA4379F48632A2DLL},{1UL,0xC9357B0C2D237A9FLL,1UL,0xF4D85337F4417DB7LL,0x41C778ED3A033020LL,0x6E83B6E29CF21EE8LL,18446744073709551615UL,0x4F3B0785C3C889FELL,0x3CA4379F48632A2DLL,2UL},{2UL,0x6E83B6E29CF21EE8LL,0x815CAE4B2D5BB77ALL,0x5DD66B3D4D4E18E9LL,0x4F3B0785C3C889FELL,0xF39D25F002D8A8B2LL,0xF39D25F002D8A8B2LL,0x4F3B0785C3C889FELL,0x5DD66B3D4D4E18E9LL,0x815CAE4B2D5BB77ALL},{18446744073709551613UL,18446744073709551613UL,1UL,0xFD87A9D2D267422ELL,0x3CA4379F48632A2DLL,0xC9357B0C2D237A9FLL,18446744073709551615UL,18446744073709551613UL,0x4F3B0785C3C889FELL,7UL}},{{0xF39D25F002D8A8B2LL,18446744073709551615UL,18446744073709551613UL,1UL,18446744073709551615UL,0x41C778ED3A033020LL,18446744073709551615UL,1UL,18446744073709551613UL,18446744073709551615UL},{0x4F3B0785C3C889FELL,18446744073709551613UL,0x5DD66B3D4D4E18E9LL,2UL,7UL,0xF4D85337F4417DB7LL,0xF39D25F002D8A8B2LL,0x41C778ED3A033020LL,0xFD87A9D2D267422ELL,18446744073709551613UL},{0xFD87A9D2D267422ELL,0x6E83B6E29CF21EE8LL,18446744073709551615UL,18446744073709551615UL,0xF4D85337F4417DB7LL,0xF4D85337F4417DB7LL,18446744073709551615UL,18446744073709551615UL,0x6E83B6E29CF21EE8LL,0xFD87A9D2D267422ELL},{0x4F3B0785C3C889FELL,0xC9357B0C2D237A9FLL,0xF4D85337F4417DB7LL,18446744073709551615UL,18446744073709551613UL,0x41C778ED3A033020LL,0x5DD66B3D4D4E18E9LL,0x6E83B6E29CF21EE8LL,1UL,0UL}}};
                const int32_t *l_2638 = &g_1630;
                const int32_t **l_2637 = &l_2638;
                struct S1 *****l_2678 = &g_390;
                int8_t l_2692 = 5L;
                union U3 * const **l_2696 = (void*)0;
                union U3 * const ***l_2695[6] = {&l_2696,&l_2696,&l_2696,&l_2696,&l_2696,&l_2696};
                int16_t l_2720 = (-6L);
                int i, j, k;
                for (l_2601 = 0; (l_2601 <= 2); l_2601 += 1)
                { /* block id: 1284 */
                    (**g_109) = l_2116;
                }
                for (l_2597 = 0; (l_2597 <= 2); l_2597 += 1)
                { /* block id: 1289 */
                    int32_t l_2603 = 6L;
                    int32_t l_2622[8] = {(-1L),(-4L),(-1L),(-1L),(-4L),(-1L),(-1L),(-4L)};
                    int32_t l_2636 = 0L;
                    int i;
                    (**l_2402) = l_2602[0];
                    for (g_275 = 0; (g_275 <= 0); g_275 += 1)
                    { /* block id: 1293 */
                        int i;
                        if (g_763[g_275])
                            break;
                    }
                    if (l_2603)
                    { /* block id: 1296 */
                        const uint8_t l_2608 = 0x55L;
                        const struct S1 l_2609 = {5UL};
                        uint8_t *l_2610 = &g_217[3][9];
                        int32_t l_2623[3][7][2] = {{{0x3FD2B59BL,(-1L)},{0x3FD2B59BL,0x3FD2B59BL},{(-1L),0x3FD2B59BL},{0x3FD2B59BL,(-1L)},{0x3FD2B59BL,0x3FD2B59BL},{(-1L),0x3FD2B59BL},{0x3FD2B59BL,(-1L)}},{{0x3FD2B59BL,0x3FD2B59BL},{(-1L),0x3FD2B59BL},{0x3FD2B59BL,(-1L)},{0x3FD2B59BL,0x3FD2B59BL},{(-1L),0x3FD2B59BL},{0x3FD2B59BL,(-1L)},{0x3FD2B59BL,0x3FD2B59BL}},{{(-1L),0x3FD2B59BL},{0x3FD2B59BL,(-1L)},{0x3FD2B59BL,0x3FD2B59BL},{(-1L),0x3FD2B59BL},{0x3FD2B59BL,(-1L)},{0x3FD2B59BL,0x3FD2B59BL},{(-1L),0x3FD2B59BL}}};
                        int i, j, k;
                        l_2623[1][1][0] = ((g_1057 = ((++(*l_14)) <= l_2601)) , (((safe_add_func_uint16_t_u_u(1UL, l_2608)) == ((l_2609 , (--(*l_2610))) || (l_2601 , ((g_836 , (((((safe_div_func_int16_t_s_s((((safe_lshift_func_uint16_t_u_s(l_2617, 1)) | (safe_lshift_func_uint32_t_u_s((***l_2402), 3))) ^ ((*l_2594) >= g_1454[4].f0)), l_2620)) && (*g_1081)) <= (*g_2202)) || g_2621) == l_2608)) || 1L)))) , l_2622[2]));
                    }
                    else
                    { /* block id: 1301 */
                        uint16_t *l_2624[2];
                        union U2 ***l_2632 = (void*)0;
                        union U2 **l_2634 = &l_2308[2];
                        union U2 ***l_2633 = &l_2634;
                        const int32_t l_2657 = 2L;
                        int i;
                        for (i = 0; i < 2; i++)
                            l_2624[i] = &g_919[6];
                        l_2636 = (l_2635[1][1][8] ^= (((l_2625[0] = l_2601) , ((l_2626 ^= ((-1L) || (*g_2202))) < (**l_2403))) != ((g_334[3][3].f0 ^= l_2601) , (((safe_lshift_func_uint16_t_u_u(((safe_mul_func_int64_t_s_s((l_2631 != ((*l_2633) = (void*)0)), (*g_2202))) >= ((*g_1032) ^= (0x95L != g_161[1].f0))), 5)) , (**g_1080)) || 0xEAL))));
                        (*g_2639) = l_2637;
                        l_2636 &= (safe_mul_func_int64_t_s_s((0xD2C42AD365A8F043LL == (l_2603 < ((safe_lshift_func_int8_t_s_s((+0x7E5E2E61L), (!(~(*g_2202))))) & (safe_add_func_uint16_t_u_u((l_2625[0] >= ((0x4B208B3FL <= (safe_add_func_int64_t_s_s((-1L), ((((safe_mod_func_uint64_t_u_u(((void*)0 != (*g_1082)), (*g_2202))) , (*g_1032)) & 1UL) | 0xC5L)))) & l_2622[0])), l_2657))))), 1L));
                        l_2636 = (safe_mod_func_int32_t_s_s((l_2635[0][0][1] <= l_2660), 4294967295UL));
                    }
                }
                for (g_158 = 0; (g_158 <= 2); g_158 += 1)
                { /* block id: 1316 */
                    const int64_t l_2661[2][8][9] = {{{0L,6L,0L,0x17C4AC356D38DFD3LL,3L,0xE80EB6E8E811918DLL,0xDBAD3398FC4BD163LL,0xB2525D5E1277629ALL,2L},{(-3L),0x5E798682BB9DA2A7LL,(-4L),0x2E9ABF09A7682818LL,(-1L),0xF60DF0079A24FAF0LL,0x5E798682BB9DA2A7LL,7L,6L},{3L,0x0131E6AF7225F83CLL,0xDC71F302CF7E3063LL,0L,0xB2525D5E1277629ALL,0L,0xDC71F302CF7E3063LL,0x0131E6AF7225F83CLL,3L},{0x2E9ABF09A7682818LL,0xFA4F1D5326D52B07LL,0L,(-4L),6L,0x0A8AC195DED6EBDFLL,(-3L),0x8E1D203FF76AFE09LL,0L},{0xE80EB6E8E811918DLL,0L,0xF1ACFB5A11DEE868LL,0x0131E6AF7225F83CLL,(-1L),3L,3L,(-4L),0L},{0x2E9ABF09A7682818LL,6L,(-3L),0L,0xFFF6C8A73411CAE5LL,9L,0xFFF6C8A73411CAE5LL,0L,(-3L)},{3L,3L,2L,0x78674453534AEBC7LL,0xE80EB6E8E811918DLL,0xFBDB1F655167C439LL,0L,0xB2525D5E1277629ALL,0x412FF9E80E018039LL},{0xFFF6C8A73411CAE5LL,0L,0xA80E7D0E70897334LL,0x5AE4527627E83AECLL,0xB5C5BB1E1E28E535LL,(-4L),0xFA4F1D5326D52B07LL,7L,0xFE86D434A637A85CLL}},{{0x0131E6AF7225F83CLL,0L,2L,0L,0x17C4AC356D38DFD3LL,(-3L),(-4L),(-3L),0x17C4AC356D38DFD3LL},{(-1L),(-3L),(-3L),(-1L),(-1L),0xA80E7D0E70897334LL,9L,0L,0x5E798682BB9DA2A7LL},{0xFBDB1F655167C439LL,0x412FF9E80E018039LL,0xF1ACFB5A11DEE868LL,0xCE20CDA666856F23LL,2L,0xDC71F302CF7E3063LL,6L,0L,(-3L)},{0x0A8AC195DED6EBDFLL,0xFE86D434A637A85CLL,0L,0x5E798682BB9DA2A7LL,(-1L),0L,0xF60DF0079A24FAF0LL,0x5275535D5C0F382FLL,0xF60DF0079A24FAF0LL},{0L,0x17C4AC356D38DFD3LL,0xDC71F302CF7E3063LL,0xDC71F302CF7E3063LL,0x17C4AC356D38DFD3LL,0L,3L,(-4L),0xCE20CDA666856F23LL},{0L,0x5E798682BB9DA2A7LL,9L,(-3L),0xB5C5BB1E1E28E535LL,0L,7L,0xF60DF0079A24FAF0LL,0x0A8AC195DED6EBDFLL},{2L,(-3L),(-1L),3L,0xE80EB6E8E811918DLL,6L,3L,0xDBAD3398FC4BD163LL,0xE28176496743DD51LL},{0xFE86D434A637A85CLL,0xF60DF0079A24FAF0LL,3L,0xFFF6C8A73411CAE5LL,0xFFF6C8A73411CAE5LL,3L,0xF60DF0079A24FAF0LL,0xFE86D434A637A85CLL,0xA80E7D0E70897334LL}}};
                    uint32_t l_2662 = 0x303A4123L;
                    int64_t *l_2669 = (void*)0;
                    int64_t *l_2670 = &g_836.f0;
                    int64_t *l_2671[1][1];
                    struct S1 *****l_2681 = &g_390;
                    int32_t l_2682 = 1L;
                    struct S1 l_2702[10][2] = {{{0x65F08FD2L},{0x65F08FD2L}},{{0x65F08FD2L},{0x65F08FD2L}},{{0x65F08FD2L},{0x65F08FD2L}},{{0x65F08FD2L},{0x65F08FD2L}},{{0x65F08FD2L},{0x65F08FD2L}},{{0x65F08FD2L},{0x65F08FD2L}},{{0x65F08FD2L},{0x65F08FD2L}},{{0x65F08FD2L},{0x65F08FD2L}},{{0x65F08FD2L},{0x65F08FD2L}},{{0x65F08FD2L},{0x65F08FD2L}}};
                    int32_t l_2704 = (-1L);
                    uint8_t l_2739[1];
                    int i, j, k;
                    for (i = 0; i < 1; i++)
                    {
                        for (j = 0; j < 1; j++)
                            l_2671[i][j] = &g_1499.f0;
                    }
                    for (i = 0; i < 1; i++)
                        l_2739[i] = 0x2FL;
                    if (l_2661[1][2][4])
                        break;
                    l_2625[1] ^= 0x61F029C2L;
                    l_2662++;
                }
            }
        }
        if ((*l_2404))
        { /* block id: 1344 */
            uint32_t l_2760[8] = {0x9645D804L,0x9645D804L,0x9645D804L,0x9645D804L,0x9645D804L,0x9645D804L,0x9645D804L,0x9645D804L};
            struct S0 ****l_2762 = &g_1336;
            int32_t l_2766 = 2L;
            int32_t l_2771[10][9] = {{0x3988A091L,0x892FE34EL,0xF2090898L,0x13C124AAL,0x13C124AAL,0xF2090898L,0x892FE34EL,0x3988A091L,0x892FE34EL},{0L,(-1L),1L,1L,(-1L),0L,0xF7E765D6L,0L,(-1L)},{0x0BD34B00L,0x892FE34EL,0x892FE34EL,0x0BD34B00L,0x3988A091L,0x55F02D1EL,0x3988A091L,0x0BD34B00L,0x892FE34EL},{(-1L),(-1L),0xF7E765D6L,(-1L),(-2L),(-1L),(-1L),(-2L),(-2L)},{0x55F02D1EL,0x892FE34EL,0x415FE7E4L,0xF2090898L,0x415FE7E4L,0x892FE34EL,0x55F02D1EL,0x55F02D1EL,0x892FE34EL},{1L,0x04B15D96L,(-1L),0x04B15D96L,1L,0xF7E765D6L,0xF7E765D6L,1L,0x04B15D96L},{0x55F02D1EL,0x415FE7E4L,0x55F02D1EL,0x13C124AAL,0x3988A091L,0x3988A091L,0x13C124AAL,0x55F02D1EL,0x415FE7E4L},{(-2L),(-1L),0xF7E765D6L,(-1L),(-1L),0xF7E765D6L,(-1L),(-2L),(-1L)},{0x892FE34EL,0xF2090898L,0x13C124AAL,0x13C124AAL,0xF2090898L,0x892FE34EL,0x3988A091L,0x892FE34EL,0xF2090898L},{0x04B15D96L,(-1L),(-1L),0x04B15D96L,(-2L),1L,(-2L),0x04B15D96L,(-1L)}};
            int8_t **l_2807[9] = {&g_1032,(void*)0,&g_1032,&g_1032,(void*)0,&g_1032,&g_1032,(void*)0,&g_1032};
            int32_t ***l_2827[1][4] = {{&l_2825,&l_2825,&l_2825,&l_2825}};
            uint32_t l_2832 = 0UL;
            int32_t l_2851 = 0L;
            int i, j;
            for (l_2425 = (-18); (l_2425 >= (-2)); ++l_2425)
            { /* block id: 1347 */
                for (g_153 = (-4); (g_153 > (-10)); --g_153)
                { /* block id: 1350 */
                    (*g_109) = (void*)0;
                }
                return g_2744[0][5];
            }
            for (g_937 = (-5); (g_937 < 11); ++g_937)
            { /* block id: 1357 */
                struct S1 *l_2757 = &g_334[6][9];
                struct S0 ****l_2761 = &g_1336;
                const int32_t l_2764[7] = {(-5L),(-5L),0xED613B56L,(-5L),(-5L),0xED613B56L,(-5L)};
                int32_t l_2770[5];
                int16_t l_2772 = 0xCCF7L;
                const uint16_t *l_2844 = &g_2845[0];
                const uint16_t **l_2843[2];
                int i;
                for (i = 0; i < 5; i++)
                    l_2770[i] = 4L;
                for (i = 0; i < 2; i++)
                    l_2843[i] = &l_2844;
                for (g_63.f0 = (-25); (g_63.f0 < 29); ++g_63.f0)
                { /* block id: 1360 */
                    struct S1 **l_2758 = (void*)0;
                    int32_t l_2763 = 0x9C06E16FL;
                    int64_t *l_2767 = &g_232;
                    uint16_t *l_2768 = (void*)0;
                    uint16_t *l_2769 = &g_919[4];
                    int16_t l_2783 = 0xC03EL;
                    int8_t *l_2791 = &g_2582[0];
                    int8_t **l_2808[6][3] = {{&g_1032,&l_2791,&l_2791},{&g_1032,&l_2791,&l_2791},{&g_1032,&l_2791,&l_2791},{&g_1032,&l_2791,&l_2791},{&g_1032,&l_2791,&l_2791},{&g_1032,&l_2791,&l_2791}};
                    union U2 **l_2810 = (void*)0;
                    union U2 ***l_2809 = &l_2810;
                    uint32_t l_2846 = 0x3AF45311L;
                    int i, j;
                    l_2771[5][2] |= ((safe_sub_func_int16_t_s_s((+((*g_68) , 0L)), ((l_2770[4] = ((+(&g_1057 != &g_1057)) >= ((*l_2769) = (safe_rshift_func_int8_t_s_s((((*l_2767) &= (((((safe_add_func_uint8_t_u_u((((l_2760[2] ^= ((***g_390) == (l_2759[1] = l_2757))) || (((l_2761 == l_2762) || ((((l_2763 | (-1L)) && l_2764[5]) < g_1247[1]) == l_2760[2])) , 0x12CCFA2AD6FB2D0FLL)) , l_2765), l_2766)) == 0xD5B07880L) , (void*)0) == (*g_900)) || 0UL)) > 0UL), l_2766))))) > 0xF8F7D44DL))) < 255UL);
                    if ((((**l_2403) = ((*l_2404) & ((l_2771[1][2] ^ l_2760[2]) >= l_2772))) != ((safe_div_func_uint64_t_u_u((safe_sub_func_uint8_t_u_u((l_2771[9][5] || ((safe_mul_func_uint32_t_u_u((safe_mul_func_uint32_t_u_u(l_2770[4], (safe_rshift_func_uint8_t_u_s((l_2783 , ((~(0x1FCD0D30L == l_2763)) & 0xF5DB42CC7B2D2E75LL)), 5)))), l_2760[2])) == l_2783)), l_2763)), 0xC7BF77BA731439BCLL)) || l_2771[1][5])))
                    { /* block id: 1368 */
                        int8_t *l_2789 = &l_2578;
                        int8_t **l_2790 = &g_1032;
                        int32_t l_2804 = 1L;
                        (*g_68) = ((safe_add_func_int32_t_s_s((safe_sub_func_int8_t_s_s((-9L), (((*l_2790) = l_2789) != l_2791))), (0x45EF2F1CL && (g_334[3][3].f0 = ((**l_2403) != ((((*l_2769) = (((g_2792 , (safe_sub_func_int16_t_s_s(1L, (safe_mod_func_uint8_t_u_u(((g_2805[4][0] ^= ((*l_2789) = (safe_add_func_int32_t_s_s((safe_div_func_uint32_t_u_u((((((((~(safe_lshift_func_int64_t_s_s((*g_2202), (*g_2202)))) , l_2760[2]) , g_2271) , (*g_2202)) == (*g_2202)) ^ l_2804) || 0UL), l_2772)), g_763[0])))) ^ (***l_2402)), (**l_2403)))))) || l_2760[7]) & 0xADADL)) == 0x3AACL) & 0L)))))) && l_2806);
                    }
                    else
                    { /* block id: 1375 */
                        (*l_2404) = ((&l_2791 != (l_2808[1][0] = l_2807[6])) <= 1UL);
                        if (l_2763)
                            break;
                    }
                    (*l_2809) = &g_741;
                    if (((*l_2404) | l_2783))
                    { /* block id: 1381 */
                        uint64_t ***l_2813 = &l_2109[0][2];
                        struct S1 l_2814 = {4UL};
                        int32_t l_2818 = 0x20274ABDL;
                        (***l_2402) ^= (safe_mul_func_int8_t_s_s((((*l_2813) = &g_2111[0]) != (l_2814 , &g_2111[0])), ((g_2815 , (safe_rshift_func_int64_t_s_s(l_2772, 56))) & (l_2766 <= 0x01L))));
                        ++l_2819;
                    }
                    else
                    { /* block id: 1385 */
                        const uint16_t *l_2840 = &g_919[5];
                        const uint16_t **l_2839 = &l_2840;
                        const uint16_t ***l_2842[5][2];
                        uint64_t l_2847[10] = {0x75DD00123D1370D4LL,18446744073709551609UL,18446744073709551609UL,0x75DD00123D1370D4LL,18446744073709551609UL,18446744073709551609UL,0x75DD00123D1370D4LL,18446744073709551609UL,18446744073709551609UL,0x75DD00123D1370D4LL};
                        int32_t l_2848 = 6L;
                        int i, j;
                        for (i = 0; i < 5; i++)
                        {
                            for (j = 0; j < 2; j++)
                                l_2842[i][j] = &g_2841[1][0];
                        }
                        (*g_71) = ((***g_1335) = (((safe_add_func_int16_t_s_s((l_2824 == l_2827[0][2]), (((safe_add_func_uint16_t_u_u((safe_lshift_func_int64_t_s_s(l_2832, 40)), (*l_2404))) , (((l_2847[3] = ((safe_lshift_func_int16_t_s_s((-1L), (safe_lshift_func_uint32_t_u_s(4UL, l_2760[2])))) ^ ((l_2839 == (l_2843[0] = g_2841[1][0])) <= l_2846))) == l_2848) | 0x6152A7E5L)) && (*g_1032)))) < 0x2CL) , (**g_1336)));
                    }
                }
                for (l_2660 = (-13); (l_2660 >= 6); ++l_2660)
                { /* block id: 1394 */
                    l_2770[2] &= (*l_2404);
                    (*l_2403) = (**l_2402);
                }
            }
            ++l_2853[1];
        }
        else
        { /* block id: 1400 */
            int32_t l_2856 = 1L;
            int32_t l_2861 = 0x3419FA57L;
            int32_t l_2866[6] = {(-9L),(-9L),(-9L),(-9L),(-9L),(-9L)};
            int16_t l_2869 = 7L;
            int i;
            (*l_2594) = (l_2856 <= (safe_sub_func_int8_t_s_s(((0x59B0DEA75494FF3ALL < (safe_rshift_func_uint32_t_u_s(g_1939, 24))) , l_2861), ((safe_mul_func_uint32_t_u_u((safe_add_func_uint64_t_u_u(l_2861, (l_2866[3] = (*g_2202)))), (((safe_mul_func_int32_t_s_s(l_2869, (((safe_rshift_func_uint32_t_u_u((((+(safe_sub_func_uint32_t_u_u(((*g_2202) && l_2875), l_2856))) , g_232) , 6UL), g_232)) > 9L) >= (*l_2594)))) != (*g_2202)) <= g_919[4]))) >= g_171))));
        }
    }
    if ((safe_add_func_int64_t_s_s(8L, ((safe_div_func_uint64_t_u_u((safe_sub_func_int16_t_s_s(((((((*l_2883) |= l_2882) | g_2744[1][1]) , (safe_mul_func_uint32_t_u_u(4294967292UL, l_2886))) , ((**g_1080) , (((safe_rshift_func_uint64_t_u_u((((safe_rshift_func_uint64_t_u_s(((*g_49) &= (safe_add_func_uint64_t_u_u(18446744073709551615UL, l_2893))), 36)) ^ ((*g_2641) , l_2894)) ^ l_2895), l_2896)) <= l_2897) | (-1L)))) >= 65535UL), g_2898)), l_2899)) > (*g_2202)))))
    { /* block id: 1407 */
        union U2 **l_2901 = (void*)0;
        union U2 **l_2902 = &g_741;
        (*l_2902) = (*g_740);
    }
    else
    { /* block id: 1409 */
        const int32_t l_2903 = 0x23CD8CAFL;
        int64_t l_2910 = 0x41A2CC141B5E775DLL;
        struct S1 **l_2911 = &l_2759[1];
        uint16_t *l_2920 = (void*)0;
        uint16_t *l_2921 = &l_2886;
        int32_t l_2924 = 7L;
        int32_t l_2925 = 1L;
        struct S1 l_2944 = {9UL};
        int8_t l_2948[3];
        uint64_t l_2972 = 0xD5D45057F051989CLL;
        int32_t l_2992[5][1][7] = {{{0L,0xD6E6938AL,(-9L),0x877442C7L,3L,(-7L),3L}},{{0L,3L,3L,0L,0xCC9C4FCDL,0x5A8123B2L,(-4L)}},{{0x83DB6E35L,0x5A8123B2L,(-9L),0xCC9C4FCDL,0xCC9C4FCDL,(-9L),0x5A8123B2L}},{{0xCC9C4FCDL,0x83DB6E35L,(-7L),0xD6E6938AL,3L,(-4L),(-4L)}},{{(-7L),0x83DB6E35L,0xCC9C4FCDL,0x83DB6E35L,(-7L),0xD6E6938AL,3L}}};
        uint64_t l_3000[1];
        uint32_t l_3005 = 0xE70390DEL;
        int i, j, k;
        for (i = 0; i < 3; i++)
            l_2948[i] = 0x78L;
        for (i = 0; i < 1; i++)
            l_3000[i] = 18446744073709551615UL;
        if (((l_2903 <= ((((safe_sub_func_int64_t_s_s((((safe_sub_func_uint16_t_u_u(((*l_2921) = (((void*)0 != (*g_2590)) == (safe_add_func_uint16_t_u_u(((*l_2883) = (((l_2910 , 1UL) == (65527UL || (l_2911 != l_2911))) <= (safe_mod_func_uint64_t_u_u((safe_lshift_func_int32_t_s_s(((safe_mod_func_int8_t_s_s((safe_mod_func_uint32_t_u_u(4294967290UL, 0xEE7191C6L)), 0x71L)) ^ l_2910), 14)), l_2910)))), 0UL)))), 0xBE0DL)) , g_1247[0]) <= l_2922), l_2923)) & g_47) | 6UL) ^ l_2910)) == l_2910))
        { /* block id: 1412 */
            uint16_t l_2926 = 0UL;
            int8_t *l_2931[6] = {&g_1728,&g_1728,&g_1728,&g_1728,&g_1728,&g_1728};
            int16_t *l_2949 = &l_2922;
            int32_t l_2950 = 0xDEE0FEF6L;
            uint16_t l_2951 = 2UL;
            int i;
            l_2926++;
            l_2951 |= ((((safe_lshift_func_int8_t_s_u((l_2925 = ((*g_1032) = (**g_1080))), 2)) & (-1L)) || (g_2932 , ((l_2925 & ((*l_2949) = (safe_mul_func_uint16_t_u_u((safe_add_func_uint8_t_u_u(l_2926, (safe_div_func_uint32_t_u_u((((safe_add_func_int8_t_s_s((((+(((safe_sub_func_uint32_t_u_u((l_2925 < (((((l_2944 , ((*l_14) = 18446744073709551609UL)) > (safe_sub_func_int64_t_s_s((!(**g_1080)), 0L))) != (*g_1032)) <= l_2903) , 0x9F49ACCDBE691F91LL)), 0xE905844AL)) != 0x87C5L) && l_2948[0])) <= l_2910) & 0x0A7962A254D9F4E1LL), g_196)) , g_2254) <= 0xAFA60553L), l_2926)))), g_2744[0][6])))) & l_2926))) <= l_2950);
            return l_2950;
        }
        else
        { /* block id: 1420 */
            int32_t l_2971 = 0xD559BD70L;
            int32_t l_2975 = 1L;
            int32_t l_2982 = 2L;
            int32_t l_2983 = 1L;
            uint32_t l_2984 = 0x46DFABDEL;
            int32_t l_3003 = 0x1AD5E9D8L;
            int32_t l_3004 = 0x4D14FA34L;
            for (g_2274.f2 = 0; (g_2274.f2 <= 2); g_2274.f2 += 1)
            { /* block id: 1423 */
                uint16_t l_2961 = 0xEB3EL;
                int16_t *l_2966 = &l_2922;
                int64_t *l_2973 = &l_2893;
                int32_t l_2974[6] = {(-3L),2L,2L,(-3L),2L,2L};
                int16_t l_2976 = 1L;
                uint8_t l_2987 = 0x36L;
                int i;
                l_2974[0] &= (safe_rshift_func_int8_t_s_s((l_2924 &= ((-3L) <= (safe_sub_func_int64_t_s_s(((+(l_2903 ^ ((safe_rshift_func_int8_t_s_u(((*g_49) > ((*l_2973) ^= (safe_div_func_uint64_t_u_u(l_2961, (safe_rshift_func_int8_t_s_s((safe_lshift_func_int16_t_s_s(((*l_2966) = (-1L)), (safe_div_func_int32_t_s_s(l_2961, (safe_div_func_int16_t_s_s((18446744073709551611UL < (((l_2971 , (&g_2374[2] != &g_2378)) | l_2971) >= l_2972)), g_219)))))), l_2910)))))), g_13)) | l_2961))) > l_2961), (*g_2202))))), 2));
                for (l_2806 = 0; (l_2806 <= 7); l_2806 += 1)
                { /* block id: 1430 */
                    uint16_t l_2977 = 1UL;
                    int32_t l_2981[1][8];
                    int i, j;
                    for (i = 0; i < 1; i++)
                    {
                        for (j = 0; j < 8; j++)
                            l_2981[i][j] = 0xF6CD12EFL;
                    }
                    --l_2977;
                    for (l_2116.f0 = 0; (l_2116.f0 <= 7); l_2116.f0 += 1)
                    { /* block id: 1434 */
                        int32_t l_2980[4][9] = {{0x2090AF47L,3L,(-8L),0x2090AF47L,1L,1L,0x2090AF47L,(-8L),3L},{0x2090AF47L,3L,(-8L),0x2090AF47L,1L,1L,0x2090AF47L,(-8L),3L},{0x2090AF47L,3L,(-8L),0x2090AF47L,1L,1L,0x2090AF47L,(-8L),3L},{0x2090AF47L,3L,(-8L),0x2090AF47L,1L,1L,1L,0x5620F778L,1L}};
                        int i, j;
                        ++l_2984;
                        (*g_1481) = 0xAD0C97CDL;
                    }
                    ++l_2987;
                    for (g_2283.f2 = 7; (g_2283.f2 >= 0); g_2283.f2 -= 1)
                    { /* block id: 1441 */
                        int32_t l_2990 = 0L;
                        int32_t l_2991 = (-9L);
                        int32_t l_2994 = 0x428B9DC4L;
                        int32_t l_2996 = 1L;
                        int32_t l_2997 = (-1L);
                        int32_t l_2998[6][5] = {{0xFAB9900FL,(-5L),0xFAB9900FL,(-5L),0xFAB9900FL},{(-6L),(-6L),(-6L),(-6L),(-6L)},{0xFAB9900FL,(-5L),0xFAB9900FL,(-5L),0xFAB9900FL},{(-6L),(-6L),(-6L),(-6L),(-6L)},{0xFAB9900FL,(-5L),0xFAB9900FL,(-5L),0xFAB9900FL},{(-6L),(-6L),(-6L),(-6L),(-6L)}};
                        int64_t l_2999 = 0L;
                        int i, j;
                        --l_3000[0];
                    }
                }
                return l_2975;
            }
            ++l_3005;
        }
        (***g_390) = (**g_391);
    }
    l_3008++;
    return (*g_2641);
}


/* ------------------------------------------ */
/* 
 * reads : g_1057 g_1954.f0 g_334.f0 g_1032 g_554 g_760.f0 g_56 g_148 g_109 g_62 g_2207 g_1081 g_1071 g_898 g_899 g_1620 g_171 g_1551 g_1986.f0 g_49 g_50 g_919 g_2254 g_94 g_75 g_763 g_1621 g_2293 g_1679 g_1648 g_1498 g_2296 g_2297 g_2298 g_2299 g_1335 g_1336 g_1337 g_199 g_1691 g_1421
 * writes: g_1057 g_554 g_2202 g_63 g_2208 g_1621 g_171 g_56 g_2254 g_919 g_2293 g_1498 g_692 g_1251 g_1338 g_72 g_1421
 */
static int32_t  func_2(uint8_t  p_3, uint8_t  p_4, uint64_t  p_5)
{ /* block id: 1065 */
    uint16_t l_2167 = 0x8625L;
    int64_t *l_2168 = (void*)0;
    uint8_t *l_2169[4] = {&g_217[3][4],&g_217[3][4],&g_217[3][4],&g_217[3][4]};
    int32_t l_2170 = 0x06703C07L;
    uint64_t l_2179 = 0x0DDB654FA892F2EELL;
    uint8_t l_2180[3][9][9] = {{{1UL,0UL,0x62L,0xCAL,255UL,255UL,0xA8L,0xAAL,0x09L},{254UL,1UL,0x43L,0xA8L,255UL,0x7DL,0xCAL,0UL,255UL},{1UL,255UL,0xA8L,0x3BL,0x0BL,0x1BL,255UL,0x27L,0xA8L},{0x7DL,255UL,0x4EL,1UL,249UL,0xCFL,0x54L,254UL,255UL},{255UL,1UL,0x0FL,0x24L,0x15L,0xCAL,255UL,0xB3L,255UL},{0xA8L,0UL,0x4EL,1UL,0x6AL,0x85L,0x62L,0x95L,254UL},{1UL,255UL,0xA8L,1UL,1UL,0x0FL,0x1BL,1UL,1UL},{0xCFL,0UL,0x43L,0x24L,0x4FL,0x3BL,0x0FL,0UL,0x85L},{255UL,0x12L,0x62L,1UL,1UL,0x09L,0xCFL,0x6AL,0xCFL}},{{0x09L,0x6AL,0x3BL,0x3BL,0x6AL,0x09L,0x7DL,0xE9L,0x24L},{0x54L,246UL,0x1BL,0xA8L,0x15L,0x3BL,0xF2L,0x22L,255UL},{0x4EL,0x95L,0xF2L,0xCAL,249UL,0x0FL,0x7DL,0x12L,0x9BL},{255UL,0x22L,0x85L,255UL,0x0BL,0x85L,0xCFL,0x12L,0x0FL},{0x62L,0xCAL,0x09L,0x54L,255UL,0xCAL,0x0FL,0x22L,8UL},{255UL,255UL,1UL,255UL,255UL,0xCFL,0x1BL,0xE9L,0x0FL},{0xD2L,253UL,254UL,0x62L,254UL,0x1BL,0x62L,0x6AL,0x9BL},{0xD2L,0x49L,8UL,0x1BL,0x22L,0x7DL,255UL,0UL,255UL},{255UL,0x7DL,0x78L,7UL,0x1BL,0UL,0x10L,0x62L,255UL}},{{1UL,255UL,0x80L,0x78L,8UL,6UL,6UL,8UL,0x78L},{0x80L,0x3BL,0x80L,0xD9L,255UL,0x1BL,0UL,1UL,0xDDL},{0x7BL,0x4EL,0x78L,0xB3L,1UL,0x83L,253UL,0x0FL,1UL},{0x10L,255UL,0xB4L,0xD9L,0x62L,0UL,0x9AL,1UL,0UL},{0x6BL,254UL,0UL,0x78L,0x62L,248UL,1UL,0x43L,0x80L},{0UL,8UL,0xB2L,7UL,1UL,0x7BL,255UL,0xF5L,0xA5L},{0x78L,255UL,0x6BL,1UL,255UL,248UL,0xB2L,255UL,253UL},{0xB2L,255UL,0xDDL,1UL,8UL,0UL,0xB2L,0x09L,255UL},{253UL,0x24L,0xB3L,255UL,0x1BL,0x83L,255UL,255UL,0x6BL}}};
    int32_t *l_2187 = &g_56;
    struct S1 l_2206[5][6] = {{{0xD212FF81L},{0xD212FF81L},{0xD212FF81L},{0xD212FF81L},{0xD212FF81L},{0xD212FF81L}},{{0xD212FF81L},{0xD212FF81L},{0xD212FF81L},{0xD212FF81L},{0xD212FF81L},{0xD212FF81L}},{{0xD212FF81L},{0xD212FF81L},{0xD212FF81L},{0xD212FF81L},{0xD212FF81L},{0xD212FF81L}},{{0xD212FF81L},{0xD212FF81L},{0xD212FF81L},{0xD212FF81L},{0xD212FF81L},{0xD212FF81L}},{{0xD212FF81L},{0xD212FF81L},{0xD212FF81L},{0xD212FF81L},{0xD212FF81L},{0xD212FF81L}}};
    int32_t l_2221 = 2L;
    int32_t l_2247 = 0L;
    int8_t l_2248 = 0x54L;
    int32_t l_2252 = 1L;
    int32_t l_2253 = 0L;
    union U2 *l_2269[7][10][3] = {{{(void*)0,&g_2284,&g_2281},{(void*)0,&g_2282,(void*)0},{(void*)0,&g_2274,&g_2281},{&g_2273,&g_2282,&g_2273},{(void*)0,&g_2284,&g_2281},{(void*)0,&g_2282,(void*)0},{(void*)0,&g_2274,&g_2281},{&g_2273,&g_2282,&g_2273},{(void*)0,&g_2284,&g_2281},{(void*)0,&g_2282,(void*)0}},{{(void*)0,&g_2274,&g_2281},{&g_2273,&g_2282,&g_2273},{(void*)0,&g_2284,&g_2281},{(void*)0,&g_2282,(void*)0},{(void*)0,&g_2274,&g_2281},{&g_2273,&g_2282,&g_2273},{(void*)0,&g_2284,&g_2281},{(void*)0,&g_2282,(void*)0},{(void*)0,&g_2274,&g_2281},{&g_2273,&g_2282,&g_2273}},{{(void*)0,&g_2284,&g_2281},{(void*)0,&g_2282,(void*)0},{(void*)0,&g_2274,&g_2281},{&g_2273,&g_2282,&g_2280[0][3][2]},{&g_2277,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0},{&g_2277,&g_2281,(void*)0},{&g_2280[0][3][2],(void*)0,&g_2280[0][3][2]},{&g_2277,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0}},{{&g_2277,&g_2281,(void*)0},{&g_2280[0][3][2],(void*)0,&g_2280[0][3][2]},{&g_2277,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0},{&g_2277,&g_2281,(void*)0},{&g_2280[0][3][2],(void*)0,&g_2280[0][3][2]},{&g_2277,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0},{&g_2277,&g_2281,(void*)0},{&g_2280[0][3][2],(void*)0,&g_2280[0][3][2]}},{{&g_2277,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0},{&g_2277,&g_2281,(void*)0},{&g_2280[0][3][2],(void*)0,&g_2280[0][3][2]},{&g_2277,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0},{&g_2277,&g_2281,(void*)0},{&g_2280[0][3][2],(void*)0,&g_2280[0][3][2]},{&g_2277,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0}},{{&g_2277,&g_2281,(void*)0},{&g_2280[0][3][2],(void*)0,&g_2280[0][3][2]},{&g_2277,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0},{&g_2277,&g_2281,(void*)0},{&g_2280[0][3][2],(void*)0,&g_2280[0][3][2]},{&g_2277,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0},{&g_2277,&g_2281,(void*)0},{&g_2280[0][3][2],(void*)0,&g_2280[0][3][2]}},{{&g_2277,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0},{&g_2277,&g_2281,(void*)0},{&g_2280[0][3][2],(void*)0,&g_2280[0][3][2]},{&g_2277,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0},{&g_2277,&g_2281,(void*)0},{&g_2280[0][3][2],(void*)0,&g_2280[0][3][2]},{&g_2277,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0}}};
    int8_t l_2289[9][6] = {{1L,(-6L),(-6L),1L,1L,(-6L)},{1L,1L,(-6L),(-6L),1L,1L},{1L,(-6L),(-6L),1L,1L,(-6L)},{1L,1L,(-6L),(-6L),1L,1L},{1L,(-6L),(-6L),1L,1L,(-6L)},{1L,1L,(-6L),(-6L),1L,1L},{1L,(-6L),(-6L),1L,1L,(-6L)},{1L,1L,(-6L),(-6L),1L,1L},{1L,(-6L),(-6L),1L,1L,(-6L)}};
    struct S0 *l_2300 = &g_1454[5];
    volatile struct S0 *l_2302[9];
    int i, j, k;
    for (i = 0; i < 9; i++)
        l_2302[i] = &g_270;
    if (((((*g_1032) |= ((l_2167 < (l_2170 &= ((p_5 , &g_232) == l_2168))) , ((safe_add_func_int16_t_s_s(l_2170, (~(l_2170 <= (safe_add_func_uint64_t_u_u((((safe_unary_minus_func_uint16_t_u(((safe_mul_func_uint32_t_u_u((g_1057 ^= (p_5 , ((0x22L || p_4) == l_2179))), (-1L))) && l_2179))) == g_1954.f0) >= g_334[3][3].f0), l_2167)))))) != 1UL))) & 0UL) >= 18446744073709551609UL))
    { /* block id: 1069 */
        int32_t *l_2186 = &g_56;
        const int64_t *l_2197 = (void*)0;
        int32_t l_2209 = 0xAD6C9FEAL;
        struct S1 ***l_2217 = &g_109;
        int8_t **l_2220 = (void*)0;
        uint16_t ***l_2250 = (void*)0;
        uint16_t ****l_2249 = &l_2250;
        if (l_2180[2][7][8])
        { /* block id: 1070 */
            uint64_t l_2183[1][5][5];
            union U2 **l_2194 = &g_741;
            const int64_t **l_2198 = &l_2197;
            const int64_t *l_2200 = &g_2201;
            const int64_t **l_2199[5][9][4] = {{{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,&l_2200,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,&l_2200,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,&l_2200,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0}},{{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,&l_2200,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,&l_2200,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,&l_2200,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0}},{{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,&l_2200,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,&l_2200,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,&l_2200,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0}},{{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,&l_2200,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,&l_2200,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,&l_2200,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0}},{{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,&l_2200,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,&l_2200,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,&l_2200,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0}}};
            int32_t l_2204 = (-7L);
            struct S1 l_2205 = {0xFED1463EL};
            int i, j, k;
            for (i = 0; i < 1; i++)
            {
                for (j = 0; j < 5; j++)
                {
                    for (k = 0; k < 5; k++)
                        l_2183[i][j][k] = 0x35B92F13429A001ALL;
                }
            }
            l_2183[0][3][1] |= (safe_lshift_func_int64_t_s_s(p_3, g_1057));
            for (l_2179 = 0; (l_2179 == 1); ++l_2179)
            { /* block id: 1074 */
                l_2187 = l_2186;
                return p_3;
            }
            l_2206[1][5] = ((**g_109) = ((g_760.f0 >= ((safe_mod_func_uint16_t_u_u(((safe_div_func_int64_t_s_s(1L, ((((((*l_2186) != (l_2170 = (safe_lshift_func_uint16_t_u_s(((void*)0 != l_2194), p_5)))) | ((safe_add_func_int8_t_s_s((0x66CBL >= ((((*l_2198) = l_2197) == (g_2202 = &g_232)) < 1UL)), (*l_2186))) , l_2183[0][3][1])) , l_2183[0][2][2]) <= l_2204) ^ 9UL))) == (*l_2186)), g_148)) >= 1L)) , l_2205));
        }
        else
        { /* block id: 1083 */
            uint32_t l_2210 = 0x9CEFAC0FL;
            g_2208 = g_2207[2][7];
            l_2210--;
        }
        l_2221 = ((safe_add_func_int8_t_s_s(0x6AL, (*g_1081))) ^ (safe_add_func_int8_t_s_s(((*g_1032) &= (((((*g_898) == l_2217) & ((p_3 == (safe_rshift_func_uint8_t_u_s(((l_2220 == l_2220) || (((*g_1620) = &l_2167) == &l_2167)), 5))) ^ 5UL)) < 0xE7L) , p_3)), 0x6BL)));
        for (g_171 = 0; (g_171 > 1); ++g_171)
        { /* block id: 1092 */
            uint32_t l_2228 = 4294967295UL;
            l_2187 = &l_2170;
            (*l_2186) ^= (((*g_1032) = (safe_lshift_func_int64_t_s_s(((((safe_mod_func_int64_t_s_s(l_2228, ((p_3 < 0xB3L) , (safe_rshift_func_uint32_t_u_s(p_3, (((safe_lshift_func_uint64_t_u_s((((((p_5 == (safe_lshift_func_uint64_t_u_u(((((*l_2187) = (*l_2187)) , ((safe_mul_func_uint8_t_u_u(p_4, (safe_add_func_uint8_t_u_u((((safe_sub_func_uint16_t_u_u((safe_mul_func_int64_t_s_s((g_1551 , (safe_sub_func_int16_t_s_s(((safe_rshift_func_int16_t_s_u(g_1986.f0, 15)) & l_2228), p_5))), 0x388AF46972AC2E06LL)), 0xDEADL)) < 0x73L) | 0xE064E15BL), (-8L))))) != 0xDEL)) && l_2247), 28))) && (*g_49)) <= l_2248) > g_919[4]) > 0x6EE47DEFL), p_4)) | p_5) <= 0xD15776B272A17EAELL)))))) || g_760.f0) , (void*)0) != l_2249), 34))) < 0L);
        }
        return p_4;
    }
    else
    { /* block id: 1099 */
        int32_t *l_2251[8] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
        int32_t l_2290 = 0x00EDFA59L;
        int i;
        ++g_2254;
        (*l_2187) |= 0xD6153177L;
        if ((safe_sub_func_int32_t_s_s((p_5 & (((*l_2187) = p_3) != p_4)), 1UL)))
        { /* block id: 1103 */
            uint64_t l_2288 = 0x38732B217F77E456LL;
            int16_t l_2291 = 4L;
            int32_t l_2292 = 0x7B0E9F5CL;
            (*l_2187) = ((safe_div_func_uint8_t_u_u((safe_mul_func_uint16_t_u_u(((safe_unary_minus_func_uint8_t_u(g_94[3])) , ((**g_1620) = (((safe_sub_func_uint8_t_u_u(((((-6L) <= ((((safe_div_func_int16_t_s_s(((*g_49) >= (g_75 || ((*l_2187) , ((*g_1032) & ((safe_unary_minus_func_uint32_t_u((p_5 < (((void*)0 == l_2269[6][8][1]) || 0xB0006780L)))) , g_763[0]))))), l_2288)) | 1UL) < (*l_2187)) < p_3)) & l_2288) != l_2289[3][0]), l_2288)) , p_4) & l_2290))), g_554)), l_2288)) == l_2288);
            --g_2293;
            (**g_1679) = (**g_1679);
        }
        else
        { /* block id: 1108 */
            (*g_2297) = g_2296;
        }
        (*g_2299) = g_2298;
    }
    (*g_199) = ((***g_1335) = l_2300);
    (*g_1691) = (*g_1691);
    return p_3;
}


/* ------------------------------------------ */
/* 
 * reads : g_790 g_1621 g_919 g_1247 g_1057 g_760.f0 g_1032 g_554
 * writes: g_163 g_148 g_937 g_57 g_626 g_1057 g_47
 */
static uint32_t  func_9(uint64_t  p_10, uint32_t  p_11, uint32_t  p_12)
{ /* block id: 1054 */
    int32_t l_2124 = 0x939D6C76L;
    int32_t *l_2125[8][9][3] = {{{&g_75,&g_75,(void*)0},{&g_56,&g_75,&g_75},{(void*)0,&g_809[0],&g_75},{&g_809[0],&g_56,&g_809[0]},{&g_56,(void*)0,&g_75},{(void*)0,&g_56,&g_809[0]},{&g_75,(void*)0,&g_75},{(void*)0,&g_56,&g_809[0]},{&g_56,&g_809[0],&g_75}},{{&g_809[0],&g_75,&g_56},{&g_809[0],&g_75,&g_809[0]},{&g_56,&g_809[0],&g_809[0]},{&g_809[0],&g_75,&g_809[0]},{&g_809[0],&g_75,&g_56},{&g_56,(void*)0,&g_809[0]},{(void*)0,&g_809[0],&g_75},{&g_75,(void*)0,&g_75},{(void*)0,&g_809[0],&g_75}},{{&g_56,&g_809[0],&g_809[0]},{&g_809[0],&g_809[0],&g_56},{(void*)0,&g_75,&g_809[0]},{&g_56,&g_75,&g_809[0]},{&g_75,&g_809[0],&g_809[0]},{(void*)0,&g_75,&g_56},{&g_75,&g_75,&g_75},{&g_809[0],&g_809[0],&g_809[0]},{&g_56,&g_809[0],&g_75}},{{(void*)0,&g_809[0],&g_809[0]},{&g_809[0],(void*)0,&g_75},{(void*)0,&g_809[0],&g_809[0]},{&g_56,(void*)0,&g_75},{&g_809[0],&g_75,&g_75},{&g_75,&g_75,(void*)0},{(void*)0,&g_809[0],&g_809[0]},{&g_75,&g_75,(void*)0},{&g_56,&g_75,&g_75}},{{(void*)0,&g_809[0],&g_75},{&g_809[0],&g_56,&g_809[0]},{&g_56,(void*)0,&g_75},{(void*)0,&g_56,&g_809[0]},{&g_75,(void*)0,&g_75},{(void*)0,&g_56,&g_809[0]},{&g_56,&g_809[0],&g_75},{&g_809[0],&g_75,&g_56},{&g_809[0],&g_75,&g_809[0]}},{{&g_56,&g_809[0],&g_809[0]},{&g_809[0],&g_75,&g_809[0]},{&g_809[0],&g_75,&g_56},{&g_56,(void*)0,&g_809[0]},{(void*)0,&g_809[0],&g_75},{&g_75,(void*)0,&g_75},{(void*)0,&g_809[0],&g_75},{&g_56,&g_809[0],&g_809[0]},{&g_809[0],&g_809[0],&g_56}},{{(void*)0,&g_75,&g_809[0]},{&g_56,&g_75,&g_809[0]},{&g_75,&g_809[0],&g_809[0]},{(void*)0,&g_75,&g_56},{&g_75,&g_75,&g_75},{&g_809[0],&g_809[0],&g_809[0]},{&g_56,&g_809[0],&g_75},{(void*)0,&g_809[0],&g_809[0]},{&g_809[0],(void*)0,&g_75}},{{(void*)0,&g_809[0],(void*)0},{&g_809[0],&g_56,(void*)0},{&g_75,&g_56,(void*)0},{&g_75,&g_75,&g_56},{&g_809[0],(void*)0,&g_809[0]},{&g_809[0],&g_75,&g_56},{&g_809[0],(void*)0,(void*)0},{&g_75,&g_809[0],(void*)0},{&g_809[0],&g_56,(void*)0}}};
    int32_t l_2126 = 0x1B9B9640L;
    uint16_t l_2127 = 0x7AACL;
    int8_t *l_2151[3];
    int8_t *l_2152 = (void*)0;
    int16_t *l_2159[10] = {&g_148,&g_148,&g_148,(void*)0,(void*)0,&g_148,&g_148,&g_148,(void*)0,(void*)0};
    uint64_t *l_2161 = &g_57;
    uint64_t *l_2162 = &g_626[6][3][1];
    uint32_t *l_2163 = &g_1057;
    int32_t l_2164 = 2L;
    int i, j, k;
    for (i = 0; i < 3; i++)
        l_2151[i] = &g_196;
    ++l_2127;
    (*g_790) = (void*)0;
    l_2164 |= (safe_mod_func_int16_t_s_s((safe_sub_func_int8_t_s_s((p_11 == (g_47 = ((safe_rshift_func_uint16_t_u_s((~(safe_div_func_uint16_t_u_u((*g_1621), (safe_lshift_func_int8_t_s_u((p_11 == ((*l_2163) |= (safe_div_func_int32_t_s_s((safe_mod_func_int32_t_s_s(((safe_mod_func_int64_t_s_s(g_1247[5], ((*l_2162) = (safe_add_func_uint8_t_u_u(((l_2151[0] != l_2152) , (0x01E8L == (safe_lshift_func_uint64_t_u_u(((*l_2161) = (safe_mul_func_int16_t_s_s(((safe_rshift_func_int16_t_s_u((g_937 = (g_148 = p_11)), 1)) >= (!0xEE7416AF0CFC2012LL)), p_12))), 27)))), p_12))))) > p_10), 7L)), p_11)))), p_11))))), g_760.f0)) == p_11))), (*g_1032))), 0x83EDL));
    return p_12;
}


/* ------------------------------------------ */
/* 
 * reads : g_63.f0 g_790
 * writes: g_63.f0 g_163
 */
static uint32_t  func_16(uint32_t  p_17, uint64_t * p_18, struct S1  p_19, uint64_t * const  p_20, uint32_t  p_21)
{ /* block id: 1046 */
    int32_t *l_2119 = (void*)0;
    for (g_63.f0 = (-13); (g_63.f0 == 36); g_63.f0++)
    { /* block id: 1049 */
        (*g_790) = l_2119;
    }
    return p_21;
}


/* ------------------------------------------ */
/* 
 * reads :
 * writes:
 */
static uint64_t * func_22(uint64_t * p_23, uint32_t  p_24, int64_t  p_25)
{ /* block id: 1044 */
    return p_23;
}


/* ------------------------------------------ */
/* 
 * reads : g_68 g_56 g_75 g_700 g_741 g_1032 g_554 g_763 g_63.f0 g_50 g_217 g_1421 g_919 g_133 g_47 g_292 g_1435 g_1436 g_49 g_390 g_391 g_109 g_62 g_1454 g_1335 g_1336 g_1337 g_1057 g_153 g_790 g_1481 g_809 g_1488 g_1137.f0 g_63 g_1209.f0 g_1498 g_692 g_1227 g_975.f0 g_158 g_334.f0 g_219 g_1551 g_1081 g_1071 g_937 g_234 g_626 g_1620 g_1630 g_1247 g_1663 g_275 g_1084 g_1668 g_196 g_700.f0 g_1621 g_199 g_72 g_1689 g_1690 g_1691 g_1679 g_1648 g_1312 g_1704 g_1080 g_1488.f2 g_1728 g_987.f0 g_1040 g_1082 g_1079 g_1499.f0 g_2073 g_2078 g_2101
 * writes: g_56 g_75 g_133 g_1057 g_158 g_232 g_919 g_334.f0 g_987 g_63 g_1137 g_1338 g_1466 g_554 g_163 g_809 g_196 g_626 g_1228 g_219 g_57 g_1620 g_1648 g_1663 g_275 g_741 g_1669 g_1679 g_72 g_1421 g_1498 g_47 g_153 g_937 g_334 g_70 g_1488.f2 g_226 g_1881 g_1499.f0 g_1127.f2 g_2101
 */
static uint64_t * func_26(int16_t  p_27)
{ /* block id: 692 */
    uint32_t l_1371 = 0UL;
    uint64_t *l_1374 = &g_133;
    uint64_t l_1377 = 0UL;
    struct S1 ****l_1386 = &g_391;
    int32_t l_1445 = 1L;
    int32_t ****l_1512[9][9][3] = {{{&g_1229[7][6][0],&g_1229[6][5][0],&g_1229[2][0][0]},{&g_1229[0][0][2],&g_1229[6][5][0],&g_1229[0][0][2]},{&g_1229[6][5][0],&g_1229[7][6][2],&g_1229[6][5][0]},{&g_1229[3][8][0],&g_1229[6][5][0],&g_1229[6][5][0]},{&g_1229[4][6][1],&g_1229[6][5][0],&g_1229[6][9][2]},{&g_1229[5][8][2],(void*)0,&g_1229[6][1][1]},{&g_1229[4][6][1],&g_1229[4][8][0],&g_1229[6][5][0]},{&g_1229[3][8][0],&g_1229[6][5][0],&g_1229[6][5][0]},{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[6][5][0]}},{{&g_1229[0][0][2],(void*)0,&g_1229[0][1][0]},{&g_1229[7][6][0],&g_1229[6][9][2],&g_1229[6][5][0]},{&g_1229[3][4][1],(void*)0,&g_1229[5][9][1]},{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[7][6][0]},{&g_1229[3][0][0],(void*)0,&g_1229[6][5][0]},{(void*)0,&g_1229[7][6][0],&g_1229[6][5][0]},{&g_1229[6][5][0],&g_1229[4][7][0],&g_1229[6][5][0]},{&g_1229[6][9][2],&g_1229[1][6][1],&g_1229[7][6][0]},{&g_1229[1][6][2],(void*)0,&g_1229[5][9][1]}},{{&g_1229[6][5][0],&g_1229[6][8][1],&g_1229[6][5][0]},{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[0][1][0]},{&g_1229[4][9][2],&g_1229[6][5][0],&g_1229[6][5][0]},{(void*)0,&g_1229[2][4][2],&g_1229[6][5][0]},{&g_1229[6][5][0],&g_1229[3][5][1],&g_1229[6][5][0]},{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[6][1][1]},{&g_1229[1][5][1],&g_1229[1][1][2],&g_1229[6][9][2]},{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[6][5][0]},{&g_1229[6][5][0],&g_1229[3][5][1],&g_1229[6][5][0]}},{{&g_1229[6][5][0],&g_1229[2][4][2],&g_1229[0][0][2]},{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[2][0][0]},{&g_1229[1][3][0],&g_1229[6][5][0],&g_1229[6][5][0]},{&g_1229[3][5][1],&g_1229[6][8][1],&g_1229[3][5][1]},{&g_1229[4][1][2],(void*)0,&g_1229[6][5][0]},{&g_1229[4][3][0],&g_1229[1][6][1],&g_1229[5][0][1]},{&g_1229[5][9][1],&g_1229[4][7][0],&g_1229[6][5][0]},{&g_1229[6][5][0],&g_1229[7][6][0],&g_1229[2][1][2]},{&g_1229[5][9][1],(void*)0,&g_1229[0][6][1]}},{{&g_1229[4][3][0],&g_1229[6][5][0],&g_1229[1][1][2]},{&g_1229[4][1][2],(void*)0,&g_1229[1][6][2]},{&g_1229[3][5][1],&g_1229[6][9][2],&g_1229[4][8][0]},{&g_1229[1][3][0],(void*)0,&g_1229[6][5][0]},{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[4][6][1]},{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[1][3][0]},{&g_1229[6][5][0],&g_1229[4][8][0],&g_1229[4][9][2]},{&g_1229[6][5][0],(void*)0,&g_1229[1][3][2]},{&g_1229[1][5][1],&g_1229[6][5][0],&g_1229[4][9][2]}},{{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[1][3][0]},{&g_1229[6][5][0],&g_1229[7][6][2],&g_1229[4][6][1]},{(void*)0,&g_1229[6][5][0],&g_1229[6][5][0]},{&g_1229[4][9][2],&g_1229[6][5][0],&g_1229[4][8][0]},{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[1][6][2]},{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[1][1][2]},{&g_1229[1][6][2],&g_1229[6][5][0],&g_1229[0][6][1]},{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[6][5][0]},{&g_1229[6][5][0],(void*)0,&g_1229[5][8][2]}},{{&g_1229[1][6][1],&g_1229[6][5][0],&g_1229[6][5][0]},{&g_1229[5][9][1],&g_1229[6][5][0],&g_1229[6][1][1]},{&g_1229[2][1][2],&g_1229[3][5][1],&g_1229[6][5][0]},{&g_1229[6][5][0],&g_1229[7][5][1],&g_1229[4][1][2]},{&g_1229[6][5][0],&g_1229[7][6][2],&g_1229[6][5][0]},{(void*)0,(void*)0,(void*)0},{&g_1229[4][3][0],&g_1229[6][5][0],&g_1229[2][1][2]},{&g_1229[1][6][2],&g_1229[6][5][0],&g_1229[1][3][2]},{&g_1229[7][6][0],&g_1229[4][6][1],&g_1229[6][5][0]}},{{(void*)0,&g_1229[4][4][1],&g_1229[0][8][2]},{&g_1229[7][6][0],&g_1229[1][1][2],&g_1229[4][9][2]},{&g_1229[1][6][2],&g_1229[4][7][0],&g_1229[3][4][1]},{&g_1229[4][3][0],&g_1229[7][1][1],(void*)0},{(void*)0,&g_1229[6][7][2],&g_1229[6][5][0]},{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[7][6][2]},{&g_1229[6][5][0],(void*)0,&g_1229[1][3][0]},{&g_1229[2][1][2],&g_1229[6][5][0],&g_1229[6][5][0]},{&g_1229[5][9][1],&g_1229[6][5][0],&g_1229[0][1][0]}},{{&g_1229[1][6][1],&g_1229[6][5][0],&g_1229[3][5][1]},{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[0][1][0]},{&g_1229[6][5][0],&g_1229[1][5][1],&g_1229[6][5][0]},{&g_1229[6][5][0],&g_1229[5][2][0],&g_1229[1][3][0]},{&g_1229[6][8][1],&g_1229[2][0][0],&g_1229[7][6][2]},{&g_1229[0][1][0],(void*)0,&g_1229[6][5][0]},{&g_1229[4][8][0],(void*)0,(void*)0},{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[3][4][1]},{(void*)0,&g_1229[6][5][0],&g_1229[4][9][2]}}};
    uint32_t **l_1519 = &g_563;
    const int8_t *l_1523 = &g_196;
    struct S0 ***l_1579[3];
    uint64_t l_1695 = 1UL;
    union U3 ***l_1836 = &g_1648;
    uint8_t l_1874 = 0x16L;
    uint16_t *** const l_2061 = &g_1620;
    uint64_t l_2105 = 7UL;
    uint64_t *l_2108[7][7];
    int i, j, k;
    for (i = 0; i < 3; i++)
        l_1579[i] = &g_1337;
    for (i = 0; i < 7; i++)
    {
        for (j = 0; j < 7; j++)
            l_2108[i][j] = &g_133;
    }
    l_1371 |= ((*g_68) |= (safe_mod_func_uint64_t_u_u(0x68222EB7FD6C9811LL, 1UL)));
    for (g_75 = 29; (g_75 <= (-17)); g_75--)
    { /* block id: 697 */
        return l_1374;
    }
    if (((safe_sub_func_int16_t_s_s((l_1377 | 0x55L), ((((l_1371 , (safe_sub_func_uint16_t_u_u(((((g_1057 = ((l_1377 < ((((safe_lshift_func_uint8_t_u_u((safe_mul_func_int8_t_s_s((((safe_lshift_func_int32_t_s_s(((g_700[0][0][0] , (void*)0) == l_1386), ((((*l_1374) = (((((((~((safe_lshift_func_int32_t_s_s((g_741 != (void*)0), 12)) <= l_1371)) , 0x08L) , p_27) <= (-2L)) <= 0x4BL) || (*g_1032)) != 0x75D7L)) | g_763[0]) == 0x37L))) <= 0xCEB6L) , 0x2CL), 1UL)), 6)) > l_1377) , p_27) >= 9L)) ^ l_1371)) , 0x6441938017F90742LL) ^ 0xF69970F559483C01LL) , 65526UL), l_1371))) < g_63.f0) ^ g_50[1][2][1]) , p_27))) < g_217[2][6]))
    { /* block id: 702 */
        int8_t l_1432[5][5][10] = {{{0x6CL,0x0DL,0x8EL,1L,0L,1L,0x7EL,(-2L),(-1L),0x47L},{0x47L,0L,1L,0xBCL,7L,(-1L),1L,0x82L,(-7L),0xC3L},{0x92L,(-1L),0x26L,(-1L),0x9FL,(-2L),0L,0L,0L,0L},{0xA9L,(-8L),0x67L,0x67L,(-8L),0xA9L,0xACL,1L,0xC3L,0x0DL},{0x41L,(-6L),9L,0x23L,0xBCL,0x6BL,0x53L,(-2L),0x8EL,(-5L)}},{{0x41L,0x37L,0x20L,1L,9L,0xA9L,(-5L),1L,7L,0x6BL},{0xA9L,(-5L),1L,7L,0x6BL,(-2L),(-1L),7L,0x5AL,1L},{0x92L,0x6CL,0xC3L,0x11L,0xC3L,(-1L),0xA7L,(-8L),8L,0x5AL},{0x47L,0xEEL,0x5EL,0L,(-7L),1L,9L,0x92L,(-9L),0x9FL},{0x6CL,(-1L),(-1L),0x1FL,1L,0xDBL,0xDDL,0xACL,0x8BL,0x11L}},{{(-6L),0xAEL,(-2L),0x8EL,0xBCL,0L,1L,(-1L),0x1FL,0x67L},{(-9L),0x8EL,0x37L,(-8L),0x1FL,(-8L),0x37L,0x8EL,(-9L),(-1L)},{0L,0L,0xAEL,0x7EL,0x0CL,0x37L,0x59L,0x15L,(-5L),0L},{0x20L,0x8EL,0L,0x7EL,(-1L),0xBCL,0x82L,(-2L),(-9L),(-2L)},{0x8EL,0x15L,8L,(-8L),0xC3L,0xD5L,0xACL,(-9L),0x1FL,0x92L}},{{0x26L,(-9L),0x8BL,0x8EL,6L,0x15L,0x6CL,(-7L),(-8L),0L},{0L,(-6L),0x92L,(-1L),0L,0x5AL,(-1L),(-2L),1L,0x9FL},{(-2L),1L,0x33L,0x41L,0x82L,(-1L),0xA9L,0x11L,0x53L,0x82L},{1L,0xBCL,7L,(-1L),1L,0x82L,(-7L),0xC3L,(-1L),1L},{(-6L),(-1L),0L,0x8EL,0xA9L,(-1L),(-1L),0xA9L,0x8EL,0L}},{{0x92L,0x92L,0x0DL,(-2L),8L,1L,0xB1L,0x8BL,0x23L,0xCCL},{1L,(-2L),(-8L),0L,(-5L),(-5L),0xB1L,1L,0x15L,0xC8L},{1L,0x92L,0xD5L,9L,0xCCL,(-6L),(-1L),0x8EL,0xB1L,0x20L},{0x0CL,(-1L),0L,7L,1L,(-10L),(-7L),0xABL,0x82L,(-1L)},{0x7EL,0xBCL,0L,6L,(-1L),0x6BL,0xA9L,8L,0xCCL,(-8L)}}};
        int32_t l_1434 = 0x4082CD23L;
        uint8_t l_1446 = 249UL;
        uint32_t **l_1465[10] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
        uint32_t *** const l_1464 = &l_1465[4];
        struct S1 l_1493 = {0x95462461L};
        const struct S1 * const *l_1529 = &g_901[2];
        const struct S1 * const * const *l_1528 = &l_1529;
        uint32_t *l_1537 = &g_63.f0;
        int32_t l_1546 = 0xE48635F2L;
        union U2 *l_1658 = &g_1127;
        int32_t *** const *l_1667[7][1][4] = {{{&g_1229[2][8][1],&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[6][5][0]}},{{&g_1229[5][6][0],&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[5][6][0]}},{{&g_1229[6][5][0],&g_1229[5][6][0],&g_1229[2][8][1],&g_1229[6][5][0]}},{{&g_1229[6][5][0],&g_1229[2][8][1],&g_1229[6][5][0],&g_1229[6][5][0]}},{{&g_1229[5][6][0],&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[6][5][0]}},{{&g_1229[2][8][1],&g_1229[2][8][1],&g_1229[6][5][0],&g_1229[6][5][0]}},{{&g_1229[6][5][0],&g_1229[5][6][0],&g_1229[6][5][0],&g_1229[5][6][0]}}};
        uint16_t l_1682 = 9UL;
        int32_t l_1696 = 0x654C20B1L;
        int8_t **l_1700[2][9][7] = {{{&g_1032,&g_1032,&g_1032,&g_1032,&g_1032,&g_1032,&g_1032},{&g_1032,&g_1032,&g_1032,(void*)0,(void*)0,&g_1032,&g_1032},{&g_1032,&g_1032,&g_1032,&g_1032,(void*)0,&g_1032,&g_1032},{&g_1032,&g_1032,&g_1032,&g_1032,&g_1032,(void*)0,&g_1032},{&g_1032,&g_1032,&g_1032,&g_1032,&g_1032,&g_1032,&g_1032},{&g_1032,&g_1032,&g_1032,(void*)0,&g_1032,&g_1032,&g_1032},{&g_1032,&g_1032,&g_1032,&g_1032,&g_1032,&g_1032,&g_1032},{(void*)0,&g_1032,&g_1032,&g_1032,&g_1032,&g_1032,&g_1032},{&g_1032,&g_1032,&g_1032,&g_1032,&g_1032,&g_1032,&g_1032}},{{&g_1032,&g_1032,&g_1032,&g_1032,&g_1032,&g_1032,&g_1032},{&g_1032,&g_1032,&g_1032,&g_1032,&g_1032,&g_1032,&g_1032},{&g_1032,(void*)0,&g_1032,&g_1032,(void*)0,&g_1032,&g_1032},{(void*)0,&g_1032,&g_1032,(void*)0,&g_1032,&g_1032,&g_1032},{&g_1032,&g_1032,&g_1032,&g_1032,&g_1032,&g_1032,&g_1032},{&g_1032,&g_1032,&g_1032,&g_1032,(void*)0,&g_1032,&g_1032},{&g_1032,(void*)0,&g_1032,&g_1032,&g_1032,&g_1032,&g_1032},{(void*)0,&g_1032,&g_1032,&g_1032,(void*)0,&g_1032,&g_1032},{&g_1032,&g_1032,&g_1032,&g_1032,&g_1032,(void*)0,&g_1032}}};
        int8_t ***l_1699 = &l_1700[0][2][4];
        int8_t ****l_1698 = &l_1699;
        const uint16_t l_1710 = 0xE3F1L;
        int8_t l_1723[3][9][5] = {{{0x02L,0xD6L,0x47L,0x80L,0xA0L},{0x02L,0xB9L,2L,2L,0xB9L},{0x02L,0xA0L,0x80L,0x47L,0xD6L},{0x02L,7L,5L,0L,0x1BL},{0x02L,0x1BL,0L,5L,7L},{0x02L,0xD6L,0x47L,0x80L,0xA0L},{0x02L,0xB9L,2L,2L,0xB9L},{0x02L,0xA0L,0x80L,0x47L,0xD6L},{0x02L,7L,5L,0L,0x1BL}},{{0x02L,0x1BL,0L,5L,7L},{0x02L,0xD6L,0x47L,0x80L,0xA0L},{0x02L,0xB9L,2L,2L,0xB9L},{0x02L,0xA0L,0x80L,0x47L,0xD6L},{0x02L,7L,5L,0L,0x1BL},{0x02L,0xDEL,0xA0L,0xD6L,0x69L},{(-1L),(-3L),0x1BL,7L,0x10L},{(-1L),0L,0xB9L,0xB9L,0L},{(-1L),0x10L,7L,0x1BL,(-3L)}},{{(-1L),0x69L,0xD6L,0xA0L,0xDEL},{(-1L),0xDEL,0xA0L,0xD6L,0x69L},{(-1L),(-3L),0x1BL,7L,0x10L},{(-1L),0L,0xB9L,0xB9L,0L},{(-1L),0x10L,7L,0x1BL,(-3L)},{(-1L),0x69L,0xD6L,0xA0L,0xDEL},{(-1L),0xDEL,0xA0L,0xD6L,0x69L},{(-1L),(-3L),0x1BL,7L,0x10L},{(-1L),0L,0xB9L,0xB9L,0L}}};
        int32_t l_1760 = 0x93EFEA41L;
        uint8_t l_1761 = 0x4DL;
        uint8_t l_1765 = 0UL;
        int32_t l_1827 = 0xD55D2D43L;
        union U3 ***l_1834 = &g_1648;
        struct S0 ***l_1841 = &g_1337;
        int64_t l_1868 = 0x8474CDE146BAA11ALL;
        uint16_t * const *l_1880 = &g_1621;
        uint16_t * const * const *l_1879[2];
        uint16_t * const * const **l_1878[5];
        int i, j, k;
        for (i = 0; i < 2; i++)
            l_1879[i] = &l_1880;
        for (i = 0; i < 5; i++)
            l_1878[i] = &l_1879[0];
lbl_1661:
        for (g_133 = 0; (g_133 != 50); g_133++)
        { /* block id: 705 */
            int32_t l_1407 = 0x0FAE9F3BL;
            uint32_t l_1480 = 0x7289B2E5L;
            for (l_1377 = 0; (l_1377 >= 50); l_1377 = safe_add_func_uint8_t_u_u(l_1377, 1))
            { /* block id: 708 */
                uint16_t l_1408 = 1UL;
                struct S0 *l_1457 = &g_128[5][2][0];
                uint32_t *l_1472 = &g_1057;
                int32_t **l_1479 = &g_163;
                int32_t l_1500 = 0xCABE59D6L;
                uint32_t **l_1520[2][10][4] = {{{(void*)0,&g_563,&g_563,(void*)0},{(void*)0,&g_563,&g_563,(void*)0},{(void*)0,&g_563,&g_563,(void*)0},{(void*)0,&g_563,&g_563,(void*)0},{(void*)0,&g_563,&g_563,(void*)0},{(void*)0,&g_563,&g_563,(void*)0},{(void*)0,&g_563,&g_563,(void*)0},{(void*)0,&g_563,&g_563,(void*)0},{(void*)0,&g_563,&g_563,(void*)0},{(void*)0,&g_563,&g_563,(void*)0}},{{(void*)0,&g_563,&g_563,(void*)0},{(void*)0,&g_563,&g_563,(void*)0},{(void*)0,&g_563,&g_563,(void*)0},{(void*)0,&g_563,&g_563,(void*)0},{(void*)0,&g_563,&g_563,(void*)0},{(void*)0,&g_563,&g_563,(void*)0},{(void*)0,&g_563,&g_563,(void*)0},{(void*)0,&g_563,&g_563,(void*)0},{(void*)0,&g_563,&g_563,(void*)0},{(void*)0,&g_563,&g_563,(void*)0}}};
                int i, j, k;
                for (g_158 = 0; (g_158 != 10); g_158 = safe_add_func_int8_t_s_s(g_158, 5))
                { /* block id: 711 */
                    uint16_t *l_1422 = &g_919[4];
                    int32_t l_1429 = (-5L);
                    uint32_t *l_1430 = &l_1371;
                    uint32_t *l_1431 = &g_334[3][3].f0;
                    if ((safe_div_func_int8_t_s_s((safe_add_func_int16_t_s_s((safe_lshift_func_uint8_t_u_s((safe_unary_minus_func_uint64_t_u(((safe_lshift_func_uint8_t_u_s(0x08L, (safe_add_func_uint8_t_u_u((((((l_1407 > ((--l_1408) , ((*l_1431) = ((*l_1430) = (safe_sub_func_int64_t_s_s(l_1371, ((safe_add_func_uint64_t_u_u((p_27 > (g_232 = (-3L))), (safe_mul_func_uint64_t_u_u((safe_mul_func_uint32_t_u_u(((safe_mul_func_int64_t_s_s(((g_1421 , g_75) == ((*l_1422)--)), 1L)) == ((safe_div_func_uint16_t_u_u((safe_mod_func_int16_t_s_s(0x5447L, 0x13F7L)), g_217[1][6])) != 0x1EL)), l_1429)), g_133)))) >= p_27))))))) != l_1432[1][3][9]) > l_1432[1][3][9]) & g_47) <= l_1377), (*g_1032))))) < 0x7A240AC4L))), (*g_1032))), p_27)), p_27)))
                    { /* block id: 717 */
                        int32_t *l_1433[5] = {&g_56,&g_56,&g_56,&g_56,&g_56};
                        int i;
                        l_1434 = ((*g_292) |= l_1408);
                        (*g_1436) = g_1435;
                    }
                    else
                    { /* block id: 721 */
                        int32_t *l_1437 = &g_56;
                        int32_t *l_1438 = &l_1407;
                        int32_t *l_1439 = &g_75;
                        int32_t *l_1440 = (void*)0;
                        int32_t *l_1441 = &g_75;
                        int32_t *l_1442 = &g_75;
                        int32_t *l_1443 = &g_75;
                        int32_t *l_1444[6] = {&g_75,&g_75,&l_1434,&g_75,&g_75,&l_1434};
                        int i;
                        l_1446--;
                        (*l_1439) &= (0x7F1718226131FAB0LL < (*g_49));
                        l_1434 = (safe_lshift_func_uint64_t_u_u(((safe_rshift_func_int32_t_s_s(l_1407, 27)) < l_1445), 33));
                    }
                    if (l_1432[1][1][0])
                    { /* block id: 726 */
                        struct S1 l_1453 = {0x64DCEF99L};
                        (****g_390) = l_1453;
                        if (p_27)
                            break;
                    }
                    else
                    { /* block id: 729 */
                        struct S0 *l_1455[9] = {&g_128[1][3][0],&g_128[1][3][0],&g_128[1][3][0],&g_128[1][3][0],&g_128[1][3][0],&g_128[1][3][0],&g_128[1][3][0],&g_128[1][3][0],&g_128[1][3][0]};
                        struct S0 *l_1456 = &g_1137;
                        int i;
                        (*l_1456) = g_1454[4];
                    }
                }
                (***g_1335) = l_1457;
                if ((p_27 | (safe_add_func_uint32_t_u_u((((void*)0 != &l_1457) < (l_1446 < 0L)), l_1446))))
                { /* block id: 734 */
                    struct S1 ***l_1462 = &g_109;
                    int32_t l_1463 = (-10L);
                    for (g_232 = 0; (g_232 < 7); g_232 = safe_add_func_uint16_t_u_u(g_232, 8))
                    { /* block id: 737 */
                        l_1463 = ((*g_390) != (l_1462 = (*l_1386)));
                        g_1466 = l_1464;
                    }
                    if (p_27)
                        continue;
                }
                else
                { /* block id: 743 */
                    uint64_t *l_1467 = &g_57;
                    return l_1467;
                }
                if ((l_1434 = ((p_27 , (safe_sub_func_uint32_t_u_u((1UL == (l_1407 || (((*l_1472) &= 4294967295UL) > ((((safe_add_func_uint64_t_u_u((safe_rshift_func_uint8_t_u_u((((g_153 == ((((*g_1032) = l_1432[4][1][7]) , &g_1336) != &g_1336)) , 0xE38C803AL) || 0xD5774C57L), 4)), p_27)) , l_1479) == l_1479) | 1UL)))), l_1480))) >= (*g_292))))
                { /* block id: 749 */
                    uint64_t l_1482[3];
                    struct S1 *l_1485 = &g_63;
                    int i;
                    for (i = 0; i < 3; i++)
                        l_1482[i] = 0x84EFD5DBA9710534LL;
                    for (l_1434 = 0; (l_1434 <= 2); l_1434 += 1)
                    { /* block id: 752 */
                        (*g_790) = &l_1434;
                        if (p_27)
                            break;
                    }
                    (*g_1481) ^= p_27;
                    for (g_196 = 0; (g_196 >= 0); g_196 -= 1)
                    { /* block id: 759 */
                        uint64_t *l_1494 = &g_626[2][2][2];
                        uint16_t *l_1495 = &g_919[4];
                        int32_t l_1496[1];
                        uint8_t *l_1497 = &l_1446;
                        int i, j;
                        for (i = 0; i < 1; i++)
                            l_1496[i] = 9L;
                        if ((*g_292))
                            break;
                        l_1482[2] = (*g_68);
                        l_1500 &= (((((*l_1497) |= ((safe_sub_func_uint32_t_u_u(((*l_1472) = ((void*)0 != l_1485)), (safe_rshift_func_int32_t_s_u((g_1488 , (0xFACEE09BL < ((((safe_mul_func_uint16_t_u_u(((*l_1495) = ((g_1137.f0 , ((((****g_390) , (safe_sub_func_int32_t_s_s((((((*l_1485) = l_1493) , (*g_49)) && (((*l_1494) = 0UL) <= g_1209[0].f0)) == p_27), p_27))) <= p_27) , (void*)0)) != &g_148)), 65535UL)) < 0x808C9DFEL) < 0xF380FB42240647DBLL) || l_1496[0]))), l_1496[0])))) != l_1408)) <= 0L) , (void*)0) != g_1498);
                    }
                }
                else
                { /* block id: 769 */
                    int32_t *l_1501 = &l_1445;
                    int32_t *l_1502 = &l_1434;
                    int32_t ****l_1511[6][9][3] = {{{&g_1229[2][5][1],&g_1229[6][5][0],&g_1229[6][5][0]},{&g_1229[5][8][1],&g_1229[0][7][0],&g_1229[6][5][0]},{(void*)0,&g_1229[2][5][1],&g_1229[6][5][0]},{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[6][5][0]},{&g_1229[6][5][0],&g_1229[2][5][1],&g_1229[0][1][1]},{(void*)0,&g_1229[0][7][0],&g_1229[6][5][0]},{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[6][5][0]},{&g_1229[6][5][0],(void*)0,&g_1229[6][5][0]},{(void*)0,(void*)0,&g_1229[6][5][0]}},{{&g_1229[6][5][0],&g_1229[0][8][2],&g_1229[5][8][1]},{(void*)0,(void*)0,&g_1229[6][5][0]},{&g_1229[6][5][0],(void*)0,&g_1229[6][5][0]},{&g_1229[6][5][0],(void*)0,&g_1229[6][5][0]},{&g_1229[7][6][1],&g_1229[7][6][1],&g_1229[5][8][1]},{&g_1229[6][5][0],(void*)0,&g_1229[6][5][0]},{&g_1229[0][8][2],(void*)0,&g_1229[0][7][0]},{&g_1229[6][5][0],(void*)0,&g_1229[6][5][0]},{&g_1229[7][6][1],&g_1229[0][8][2],&g_1229[0][7][0]}},{{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[6][5][0]},{&g_1229[6][5][0],&g_1229[0][8][2],&g_1229[5][8][1]},{(void*)0,(void*)0,&g_1229[6][5][0]},{&g_1229[6][5][0],(void*)0,&g_1229[6][5][0]},{&g_1229[6][5][0],(void*)0,&g_1229[6][5][0]},{&g_1229[7][6][1],&g_1229[7][6][1],&g_1229[5][8][1]},{&g_1229[6][5][0],(void*)0,&g_1229[6][5][0]},{&g_1229[0][8][2],(void*)0,&g_1229[0][7][0]},{&g_1229[6][5][0],(void*)0,&g_1229[6][5][0]}},{{&g_1229[7][6][1],&g_1229[0][8][2],&g_1229[0][7][0]},{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[6][5][0]},{&g_1229[6][5][0],&g_1229[0][8][2],&g_1229[5][8][1]},{(void*)0,(void*)0,&g_1229[6][5][0]},{&g_1229[6][5][0],(void*)0,&g_1229[6][5][0]},{&g_1229[6][5][0],(void*)0,&g_1229[6][5][0]},{&g_1229[7][6][1],&g_1229[7][6][1],&g_1229[5][8][1]},{&g_1229[6][5][0],(void*)0,&g_1229[6][5][0]},{&g_1229[0][8][2],(void*)0,&g_1229[0][7][0]}},{{&g_1229[6][5][0],(void*)0,&g_1229[6][5][0]},{&g_1229[7][6][1],&g_1229[0][8][2],&g_1229[0][7][0]},{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[6][5][0]},{&g_1229[6][5][0],&g_1229[0][8][2],&g_1229[5][8][1]},{(void*)0,(void*)0,&g_1229[6][5][0]},{&g_1229[6][5][0],(void*)0,&g_1229[6][5][0]},{&g_1229[6][5][0],(void*)0,&g_1229[6][5][0]},{&g_1229[7][6][1],&g_1229[7][6][1],&g_1229[5][8][1]},{&g_1229[6][5][0],(void*)0,&g_1229[6][5][0]}},{{&g_1229[0][8][2],(void*)0,&g_1229[0][7][0]},{&g_1229[6][5][0],(void*)0,&g_1229[6][5][0]},{&g_1229[7][6][1],&g_1229[0][8][2],&g_1229[0][7][0]},{&g_1229[6][5][0],&g_1229[6][5][0],&g_1229[6][5][0]},{&g_1229[6][5][0],&g_1229[0][8][2],&g_1229[5][8][1]},{(void*)0,(void*)0,&g_1229[6][5][0]},{&g_1229[6][5][0],(void*)0,&g_1229[6][5][0]},{&g_1229[6][5][0],(void*)0,&g_1229[6][5][0]},{&g_1229[7][6][1],&g_1229[7][6][1],&g_1229[5][8][1]}}};
                    uint8_t *l_1524 = &g_219;
                    int16_t l_1525 = 1L;
                    int i, j, k;
                    (*l_1502) = (g_692 , ((*l_1501) = (-3L)));
                    (*l_1501) |= (safe_mul_func_uint16_t_u_u((safe_lshift_func_int64_t_s_s((-1L), (p_27 <= ((safe_div_func_int16_t_s_s(((((*g_1227) = l_1511[4][3][0]) == l_1512[2][4][2]) < ((((safe_div_func_int8_t_s_s((safe_sub_func_int16_t_s_s(((safe_mul_func_uint32_t_u_u((l_1519 != (l_1520[0][7][0] = l_1519)), (((*l_1524) = (((safe_rshift_func_uint32_t_u_u(((void*)0 != l_1523), g_919[4])) <= 0L) || p_27)) && p_27))) | 0xD40AD63BL), g_1057)), (-8L))) <= l_1525) ^ g_975.f0) || p_27)), l_1432[1][3][9])) >= 1L)))), 0xBDCDL));
                }
            }
        }
        if (((((l_1528 != &l_1529) == ((safe_mod_func_uint8_t_u_u(p_27, l_1446)) == (!(safe_mod_func_int8_t_s_s((-8L), 251UL))))) , (--(*l_1537))) <= (p_27 >= (l_1546 &= (l_1434 = (((safe_mul_func_uint8_t_u_u((safe_add_func_int32_t_s_s((65535UL != (++g_919[4])), p_27)), g_158)) , p_27) & g_334[3][3].f0))))))
        { /* block id: 783 */
            uint8_t l_1582[9][9] = {{0x00L,255UL,255UL,0x00L,0UL,0x00L,255UL,255UL,0x00L},{0x13L,0xAEL,7UL,0xAEL,0x13L,255UL,9UL,0x6FL,9UL},{255UL,0UL,255UL,255UL,0UL,255UL,0UL,255UL,255UL},{0x13L,255UL,9UL,0x6FL,9UL,255UL,0x13L,0xAEL,7UL},{0x00L,0UL,0x00L,255UL,255UL,0x00L,0UL,0x00L,255UL},{0xC7L,0xAEL,9UL,0x63L,0x63L,0x63L,9UL,0xAEL,0xC7L},{1UL,0x00L,0UL,0x00L,255UL,255UL,0x00L,0UL,0x00L},{0xC7L,255UL,0x63L,0xEAL,0x13L,0x63L,0x13L,0xEAL,0x63L},{255UL,255UL,0x00L,0UL,0x00L,255UL,255UL,0x00L,0UL}};
            uint32_t **l_1615 = &g_563;
            int32_t *l_1657 = &l_1445;
            struct S0 *l_1670 = &g_692;
            int32_t l_1681 = 0x1AC2F0F7L;
            union U3 * const l_1694 = &g_836;
            int8_t *****l_1697[1][3][7] = {{{&g_1312,&g_1312,&g_1312,&g_1312,&g_1312,&g_1312,&g_1312},{&g_1312,&g_1312,&g_1312,&g_1312,&g_1312,&g_1312,&g_1312},{&g_1312,&g_1312,&g_1312,&g_1312,&g_1312,&g_1312,&g_1312}}};
            int32_t l_1701[7][2][8] = {{{0xDC85C32EL,0xDC85C32EL,1L,2L,(-2L),(-1L),0x93A364DFL,(-1L)},{0x65DD30DAL,0xFC8EF192L,0xBCFABD90L,(-9L),0xFC6EC840L,0xBB0E816AL,0xF577F024L,(-1L)}},{{0xFC8EF192L,0xAFADDCE6L,0xC7134EB5L,2L,(-1L),0xEE9C0E6BL,0x088C588AL,0xBB0E816AL},{8L,(-7L),0x863D79FFL,0xDC85C32EL,0x93A364DFL,0x5420C501L,0xA5A7199CL,0x93A364DFL}},{{(-1L),0xFC6EC840L,0xF577F024L,(-1L),0xA5A7199CL,(-1L),(-9L),0x893242CFL},{0xFC8EF192L,0x81C83E87L,(-1L),0x088C588AL,0xF577F024L,0xAFADDCE6L,0x893242CFL,0xAFADDCE6L}},{{(-2L),(-6L),0x30776882L,(-6L),(-2L),(-4L),8L,(-1L)},{(-1L),0xFC6EC840L,0x65DD30DAL,0xBB0E816AL,7L,(-1L),0x81C83E87L,(-6L)}},{{0x893242CFL,9L,0x65DD30DAL,(-2L),9L,0xEE9C0E6BL,8L,0x0C593A47L},{7L,6L,0x30776882L,(-1L),(-6L),1L,0x893242CFL,0xDC85C32EL}},{{(-9L),0xFC8EF192L,(-1L),(-4L),0xDC85C32EL,0xC7134EB5L,(-9L),7L},{(-7L),(-1L),0xF577F024L,(-2L),0xBB0E816AL,0x0C593A47L,0xA5A7199CL,0x81C83E87L}},{{(-1L),0x088C588AL,0x863D79FFL,(-1L),(-1L),0x863D79FFL,0x088C588AL,(-1L)},{9L,(-1L),0xC7134EB5L,0x81C83E87L,0xDC85C32EL,0x283A5D1FL,0xF577F024L,6L}}};
            int i, j, k;
            if (p_27)
            { /* block id: 784 */
                int32_t l_1559 = 5L;
                struct S0 ***l_1580 = &g_1337;
                int32_t l_1585 = (-3L);
                uint16_t **l_1623[5];
                union U3 **l_1646 = (void*)0;
                union U3 **l_1647 = &g_1498;
                int8_t *l_1680[8][10][1] = {{{(void*)0},{&g_196},{(void*)0},{&g_196},{&g_196},{(void*)0},{&g_196},{&g_196},{&g_196},{&g_196}},{{&g_196},{(void*)0},{&g_196},{&g_196},{(void*)0},{&g_196},{(void*)0},{&g_196},{&g_196},{(void*)0}},{{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{(void*)0},{&g_196},{&g_196},{(void*)0},{&g_196}},{{(void*)0},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196}},{{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196}},{{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196}},{{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196}},{{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196},{&g_196}}};
                struct S1 l_1685 = {0xBFDFF23AL};
                int i, j, k;
                for (i = 0; i < 5; i++)
                    l_1623[i] = (void*)0;
                for (g_219 = 0; (g_219 >= 39); g_219++)
                { /* block id: 787 */
                    int32_t ** const *l_1614 = &g_790;
                    int32_t ** const **l_1613 = &l_1614;
                    int32_t ** const ***l_1612 = &l_1613;
                    int8_t **l_1654 = &g_1032;
                    for (g_57 = 0; (g_57 > 52); g_57 = safe_add_func_uint32_t_u_u(g_57, 3))
                    { /* block id: 790 */
                        struct S1 *l_1558[2];
                        int32_t l_1581 = 0x05445ACDL;
                        uint32_t ** const l_1616 = &g_563;
                        uint32_t *l_1617 = &g_334[3][3].f0;
                        uint16_t ***l_1622 = &g_1620;
                        union U3 **l_1645 = &g_1498;
                        union U3 ***l_1644[6];
                        int64_t *l_1649[6] = {&g_1499.f0,&g_1499.f0,&g_1499.f0,&g_1499.f0,&g_1499.f0,&g_1499.f0};
                        int32_t l_1650 = 0x1435635BL;
                        int i;
                        for (i = 0; i < 2; i++)
                            l_1558[i] = &g_63;
                        for (i = 0; i < 6; i++)
                            l_1644[i] = &l_1645;
                        l_1582[7][4] &= (((*l_1537) = (0L <= (g_1551 , (safe_mod_func_uint32_t_u_u((((safe_mod_func_int32_t_s_s(0xE17A819AL, ((safe_lshift_func_int8_t_s_u(((l_1558[1] != (void*)0) ^ l_1559), 3)) , l_1559))) && (safe_rshift_func_uint16_t_u_u((safe_div_func_uint8_t_u_u((safe_div_func_int8_t_s_s((((p_27 >= (safe_div_func_int64_t_s_s(((safe_sub_func_uint16_t_u_u((safe_rshift_func_uint64_t_u_s(((safe_mul_func_int16_t_s_s(((((!((safe_sub_func_int32_t_s_s(((safe_mul_func_uint64_t_u_u(((l_1579[1] != l_1580) == l_1581), 1L)) , 0x127A62D7L), l_1581)) , p_27)) | 0xE0L) || (*g_1081)) != p_27), l_1493.f0)) , l_1432[1][3][9]), p_27)), 0xD53DL)) && (*g_49)), g_158))) > g_937) ^ p_27), p_27)), l_1559)), l_1493.f0))) || p_27), p_27))))) , 0L);
                        l_1585 = (safe_div_func_uint64_t_u_u(l_1546, 0x49492AB1E84C9302LL));
                        l_1434 = (safe_sub_func_int64_t_s_s(((--(*l_1537)) >= (((*l_1617) ^= ((((safe_lshift_func_uint8_t_u_u((safe_sub_func_int64_t_s_s(p_27, 0x5D7E5D80C41E6018LL)), 1)) > (safe_add_func_int16_t_s_s((safe_mul_func_uint32_t_u_u(p_27, p_27)), ((((safe_div_func_int16_t_s_s(((safe_lshift_func_uint8_t_u_u(((l_1581 = (safe_div_func_uint32_t_u_u(p_27, (safe_add_func_uint16_t_u_u((((safe_mul_func_int16_t_s_s(((safe_mod_func_int32_t_s_s((((void*)0 != l_1612) || (((*g_1032) = p_27) == (l_1432[2][1][2] >= l_1585))), 2UL)) ^ g_234[0][2]), 0xF3B6L)) >= g_809[0]) <= p_27), 0xDFF3L))))) < 0x2C145CCDL), g_626[7][2][0])) && p_27), l_1546)) , l_1615) == l_1616) < p_27)))) ^ 0xD9L) & p_27)) != 0xEA5899D2L)), g_75));
                        l_1650 ^= ((safe_sub_func_int32_t_s_s(((((*l_1622) = g_1620) == l_1623[0]) & (*g_1481)), ((safe_rshift_func_uint64_t_u_s(((safe_lshift_func_uint32_t_u_s((safe_add_func_uint32_t_u_u(g_1630, ((safe_sub_func_int64_t_s_s((g_232 = (((((safe_add_func_int32_t_s_s(((((~((safe_div_func_uint32_t_u_u((safe_sub_func_uint32_t_u_u(p_27, (safe_mod_func_int16_t_s_s((((*l_1537) = (l_1559 <= (safe_sub_func_uint64_t_u_u(((l_1646 = (p_27 , &g_1498)) != (g_1648 = l_1647)), 0x1D4932DF378304C0LL)))) > 0xF3B1D0C5L), g_1247[2])))), p_27)) || l_1585)) && l_1582[7][4]) & 0UL) , p_27), l_1581)) & 0x3FDBEF8FL) != l_1582[4][2]) , p_27) | 4294967289UL)), l_1432[1][3][9])) | 0x0DB8L))), 7)) <= p_27), g_626[5][2][2])) & l_1493.f0))) ^ l_1581);
                    }
                    if ((!((safe_rshift_func_int32_t_s_u(p_27, ((void*)0 != l_1654))) || (safe_div_func_int16_t_s_s(g_1071, p_27)))))
                    { /* block id: 806 */
                        union U2 *l_1660[2][1][6] = {{{&g_1127,&g_1127,&g_161[1],&g_1127,&g_1127,&g_161[1]}},{{&g_1127,&g_1127,&g_161[1],&g_1127,&g_1127,&g_161[1]}}};
                        int i, j, k;
                        (*g_790) = &l_1434;
                        l_1657 = &l_1585;
                        l_1660[0][0][5] = l_1658;
                        if (g_63.f0)
                            goto lbl_1661;
                    }
                    else
                    { /* block id: 811 */
                        uint64_t l_1662 = 18446744073709551612UL;
                        l_1662 ^= (*l_1657);
                        ++g_1663[8][7][0];
                    }
                    if (p_27)
                        continue;
                }
                for (g_275 = 0; (g_275 <= 2); g_275 += 1)
                { /* block id: 819 */
                    union U2 *l_1666 = &g_161[0];
                    int32_t *l_1674 = &g_809[0];
                    int32_t *l_1676[7];
                    int i;
                    for (i = 0; i < 7; i++)
                        l_1676[i] = &l_1445;
                    (*g_1084) = l_1666;
                    (*g_1668) = l_1667[3][0][2];
                    (***g_1335) = l_1670;
                    for (g_196 = 0; (g_196 <= 2); g_196 += 1)
                    { /* block id: 825 */
                        int8_t *l_1673 = &l_1432[1][3][9];
                        int32_t *l_1675 = (void*)0;
                        union U3 ***l_1678 = &l_1646;
                        union U3 ****l_1677[3];
                        int i;
                        for (i = 0; i < 3; i++)
                            l_1677[i] = &l_1678;
                        (*l_1657) ^= (((safe_lshift_func_uint8_t_u_u((p_27 < (((((*l_1673) |= ((*g_1032) = (*g_1032))) , l_1674) != (l_1676[3] = l_1675)) | 0xBB88L)), ((((((g_1679 = &g_1648) != (void*)0) ^ ((0xF027D5CAL != ((g_700[0][0][2].f0 , 4L) != 0L)) | p_27)) , p_27) , (void*)0) != l_1680[3][3][0]))) > (*g_1621)) != p_27);
                        (*g_790) = l_1674;
                        return &g_50[1][2][1];
                    }
                }
                l_1682--;
                (****l_1386) = l_1685;
            }
            else
            { /* block id: 837 */
                uint8_t l_1686 = 255UL;
                int32_t *l_1693 = (void*)0;
                l_1686++;
                (*g_1689) = (*g_199);
                if (g_275)
                    goto lbl_1692;
lbl_1692:
                (*g_1691) = g_1690[0];
                (*g_790) = l_1693;
            }
            l_1696 |= (l_1694 != ((**g_1679) = (l_1695 , (void*)0)));
            l_1701[2][0][1] |= ((l_1698 = g_1312) == (void*)0);
            for (g_47 = 4; (g_47 > (-11)); g_47 = safe_sub_func_int32_t_s_s(g_47, 6))
            { /* block id: 850 */
                struct S0 *l_1705 = (void*)0;
                struct S0 *l_1706[10] = {&g_987,&g_987,&g_987,&g_987,&g_987,&g_987,&g_987,&g_987,&g_987,&g_987};
                struct S0 *l_1707 = &g_70;
                int i;
                for (g_153 = 0; g_153 < 8; g_153 += 1)
                {
                    for (g_937 = 0; g_937 < 10; g_937 += 1)
                    {
                        struct S1 tmp = {0x43DCE0D9L};
                        g_334[g_153][g_937] = tmp;
                    }
                }
                (*l_1707) = g_1704[4];
            }
        }
        else
        { /* block id: 854 */
            struct S1 ***l_1724 = &g_109;
            int32_t l_1725 = 6L;
            int8_t l_1762[10];
            int32_t l_1764[6];
            int32_t *l_1773 = &l_1725;
            uint16_t l_1781 = 0xFB04L;
            uint32_t l_1784 = 0xBC863C13L;
            int i;
            for (i = 0; i < 10; i++)
                l_1762[i] = 0xD2L;
            for (i = 0; i < 6; i++)
                l_1764[i] = 0xE42B3BBCL;
            if (p_27)
            { /* block id: 855 */
                int32_t *****l_1715 = (void*)0;
                l_1725 = (safe_rshift_func_int16_t_s_u(l_1710, (((0L != (safe_mod_func_int16_t_s_s(((safe_sub_func_uint32_t_u_u(0x144EDB76L, (g_63.f0 = (((((((void*)0 != l_1715) <= ((*g_1032) = (safe_lshift_func_int32_t_s_u((p_27 <= ((((safe_add_func_int8_t_s_s(((((safe_add_func_int32_t_s_s(((**g_1620) == (((!(((*g_1621) & (p_27 , (**g_1620))) >= l_1723[2][5][3])) , (void*)0) != l_1724)), 0UL)) , 0x9CL) == (*g_1081)) & 8UL), l_1725)) != 0x10E7A5DEL) && (-9L)) && 0x4401L)), p_27)))) < p_27) < p_27) , l_1725) ^ (-6L))))) != 1UL), 65535UL))) || (**g_1080)) != l_1725)));
            }
            else
            { /* block id: 859 */
                int32_t l_1763 = (-4L);
                for (g_1488.f2 = 0; (g_1488.f2 != (-14)); g_1488.f2 = safe_sub_func_int64_t_s_s(g_1488.f2, 7))
                { /* block id: 862 */
                    int16_t l_1729[9][8][3] = {{{0x8FFEL,(-1L),9L},{3L,0x8993L,7L},{0x51C3L,0x1EF3L,(-1L)},{(-6L),0x151BL,0x3127L},{(-1L),0x232BL,(-6L)},{(-1L),(-10L),1L},{(-10L),3L,1L},{0x8BF4L,1L,0x825EL}},{{1L,0L,0x8993L},{0x6697L,0xD824L,(-1L)},{(-1L),1L,(-10L)},{(-1L),1L,0x1928L},{0x22E0L,0xD824L,0L},{0xF0D8L,0L,(-2L)},{0x1EF3L,1L,1L},{0x805DL,3L,(-1L)}},{{0L,(-10L),(-9L)},{1L,0x232BL,0x8BF4L},{1L,0x151BL,0xEB65L},{7L,0x1EF3L,0L},{0x7203L,0x8993L,0xFCC1L},{(-1L),(-1L),8L},{0xB386L,0x8BF4L,0xEDE9L},{3L,0xC146L,5L}},{{0x7CCAL,0xFCC1L,1L},{(-1L),3L,5L},{0x9E4EL,0x4344L,0xEDE9L},{(-1L),0xD8EEL,8L},{2L,0x51C3L,0xFCC1L},{(-5L),0x6697L,0L},{0x232BL,3L,0xEB65L},{0x3127L,9L,0x8BF4L}},{{1L,0x8C51L,(-9L)},{1L,0x22E0L,(-1L)},{0xC146L,0x361BL,1L},{0x85ACL,(-1L),(-2L)},{(-1L),(-1L),0L},{0xB62EL,(-2L),0x1928L},{0x3127L,0x85ACL,0x1928L},{0x3127L,(-2L),0x5E17L}},{{0x9B00L,(-1L),0x7203L},{0x5E17L,0xC146L,(-1L)},{(-2L),0x4871L,3L},{0x6A93L,0x0115L,0xD824L},{0x151BL,0xFCC1L,0x8FFEL},{(-6L),5L,0x7880L},{0x7880L,0L,0x232BL},{0x7A44L,(-5L),0xEDE9L}},{{0x0115L,0xB7A9L,0xB7A9L},{0x5860L,3L,1L},{1L,0xF0D8L,(-6L)},{0xFCC1L,0xEB65L,(-2L)},{0x232BL,(-1L),0x6697L},{1L,0xEB65L,1L},{1L,0xF0D8L,0x9E4EL},{0x8BF4L,3L,0x4B73L}},{{1L,0xB7A9L,5L},{0xEB65L,(-5L),0x0882L},{0x4344L,0L,1L},{7L,5L,0xEB65L},{0xC146L,0xFCC1L,0x805DL},{0xB15FL,0x0115L,0x7CCAL},{2L,0x4871L,0L},{0x0FA2L,0xC146L,1L}},{{1L,(-1L),0xFB11L},{(-9L),(-2L),0x3F95L},{(-1L),0x85ACL,0x3F95L},{0x22E0L,(-5L),0xFB11L},{0x0882L,0x232BL,1L},{0x9E4EL,1L,0L},{1L,(-1L),0x7CCAL},{0x1928L,(-9L),0x805DL}}};
                    int32_t l_1739 = 0x4C6439FBL;
                    int i, j, k;
                    l_1729[3][5][0] = g_1728;
                    for (l_1695 = 0; (l_1695 <= 3); l_1695 += 1)
                    { /* block id: 866 */
                        uint8_t *l_1738 = &l_1446;
                        int16_t *l_1740 = &g_937;
                        struct S0 *l_1743[4] = {&g_1454[4],&g_1454[4],&g_1454[4],&g_1454[4]};
                        int32_t l_1744 = 0xD365A795L;
                        int i, j;
                        l_1744 = ((0x7EL <= ((safe_rshift_func_int32_t_s_u((safe_add_func_int16_t_s_s(g_217[(l_1695 + 1)][(l_1695 + 6)], (safe_rshift_func_int64_t_s_u(((((safe_add_func_uint8_t_u_u((l_1739 = ((*l_1738) = g_763[0])), (p_27 , p_27))) | (((g_987.f0 ^ (l_1725 ^ ((*l_1740) = g_50[7][3][0]))) && ((safe_lshift_func_int64_t_s_u(((l_1743[2] != (void*)0) != p_27), 12)) < g_217[(l_1695 + 1)][(l_1695 + 6)])) | p_27)) & 6UL) & 0UL), 19)))), 23)) == p_27)) != l_1729[3][5][0]);
                        l_1762[4] = (((*g_1081) ^ (safe_sub_func_uint16_t_u_u((safe_div_func_int64_t_s_s(((((safe_rshift_func_uint32_t_u_u((((safe_add_func_uint16_t_u_u(l_1739, (((((p_27 == p_27) | ((((~4294967293UL) > ((*l_1738) &= (safe_div_func_uint16_t_u_u(p_27, p_27)))) <= ((safe_div_func_int8_t_s_s(p_27, (safe_rshift_func_uint8_t_u_s(((((l_1760 ^ l_1729[0][3][1]) , 0x7B2434B412CD231BLL) | p_27) < p_27), (*g_1032))))) , l_1761)) & 4UL)) ^ g_1247[0]) || g_763[0]) < l_1729[3][5][0]))) , &g_153) == (void*)0), 29)) <= g_275) >= 0UL) , l_1739), 0x0082230FD7D79EA6LL)), l_1725))) < 0x744EA9BBL);
                        ++l_1765;
                    }
                    (*g_1040) = &l_1763;
                    return &g_171;
                }
            }
            for (l_1695 = (-14); (l_1695 <= 2); l_1695 = safe_add_func_uint32_t_u_u(l_1695, 7))
            { /* block id: 881 */
                int32_t l_1774[9] = {0x0D739129L,0xF563B1EEL,0x0D739129L,0x0D739129L,0xF563B1EEL,0x0D739129L,0x0D739129L,0xF563B1EEL,0x0D739129L};
                int32_t l_1775 = 0xA818E238L;
                int32_t l_1778 = (-1L);
                int i;
                for (g_153 = 11; (g_153 != (-17)); g_153--)
                { /* block id: 884 */
                    int32_t *l_1772 = (void*)0;
                    int32_t l_1776 = 0x4355EEE4L;
                    int32_t l_1777 = 5L;
                    int32_t l_1779 = 0xF3A1817FL;
                    int32_t l_1780 = 0x4701FC84L;
                    l_1772 = (void*)0;
                    l_1773 = l_1772;
                    l_1781++;
                    if (l_1775)
                        break;
                }
            }
            (*g_790) = &l_1764[4];
            l_1784++;
        }
        if (p_27)
        { /* block id: 894 */
            int32_t *l_1789 = &g_809[0];
            int16_t l_1828 = 0x6D87L;
            const struct S1 l_1831 = {0xB4257694L};
            union U3 * const l_1843[1] = {&g_1499};
            union U2 *l_1867[2][2];
            int32_t l_1869[5];
            int i, j;
            for (i = 0; i < 2; i++)
            {
                for (j = 0; j < 2; j++)
                    l_1867[i][j] = &g_679;
            }
            for (i = 0; i < 5; i++)
                l_1869[i] = (-10L);
            for (g_1488.f2 = 0; (g_1488.f2 >= (-10)); g_1488.f2--)
            { /* block id: 897 */
                int32_t *l_1807 = &g_1127.f2;
                int32_t l_1808 = 1L;
                uint32_t **l_1809 = (void*)0;
                union U3 ***l_1835 = (void*)0;
                uint32_t l_1837 = 0UL;
                int32_t l_1870[2];
                int i;
                for (i = 0; i < 2; i++)
                    l_1870[i] = 0xA2CBE9BFL;
            }
            l_1874--;
        }
        else
        { /* block id: 951 */
            int32_t l_1877 = 0x32EF1ECAL;
            g_1881 = (l_1877 , l_1878[3]);
        }
    }
    else
    { /* block id: 954 */
        int8_t *****l_1894 = (void*)0;
        int32_t l_1895[2];
        int32_t l_1931 = 0x10267816L;
        uint8_t l_1932[10];
        uint64_t l_1996 = 18446744073709551615UL;
        int16_t l_2002 = 0xF4E9L;
        int32_t *l_2036[7][5] = {{&l_1931,&l_1931,&g_75,&g_56,&g_75},{&g_56,&g_56,&l_1895[0],&g_75,&l_1895[0]},{&l_1931,&l_1931,&g_75,&g_56,&g_75},{&g_56,&g_56,&l_1895[0],&g_75,&l_1895[0]},{&l_1931,&l_1931,&g_75,&g_56,&g_75},{&g_56,&g_56,&l_1895[0],&g_75,&l_1895[0]},{&l_1931,&l_1931,&g_75,&g_56,&g_75}};
        const struct S0 **l_2064 = &g_72;
        const struct S0 ***l_2063 = &l_2064;
        const struct S0 ****l_2062 = &l_2063;
        uint32_t l_2067 = 0xF8B00C13L;
        uint32_t l_2094[8] = {0UL,4294967295UL,0UL,4294967295UL,0UL,4294967295UL,0UL,4294967295UL};
        int i, j;
        for (i = 0; i < 2; i++)
            l_1895[i] = 0x410216F1L;
        for (i = 0; i < 10; i++)
            l_1932[i] = 1UL;
        for (l_1371 = 0; (l_1371 <= 1); l_1371 += 1)
        { /* block id: 957 */
            const int16_t l_1886[10][4] = {{0L,0xFC46L,0xFC46L,0L},{0xFC46L,0L,0xFC46L,0xFC46L},{0L,0L,0xD48AL,0L},{0L,0xFC46L,0xFC46L,0L},{0xFC46L,0L,0xFC46L,0xFC46L},{0L,0L,0xD48AL,0L},{0L,0xFC46L,0xFC46L,0L},{0xFC46L,0L,0xFC46L,0xFC46L},{0xFC46L,0xFC46L,0L,0xFC46L},{0xFC46L,0xD48AL,0xD48AL,0xFC46L}};
            int32_t l_1970 = 0xF67834E3L;
            int32_t l_1971 = (-1L);
            int32_t l_1972 = 0L;
            int32_t l_1973[10][8] = {{0xEA30DD80L,0L,0xEA30DD80L,(-3L),1L,(-3L),0xEA30DD80L,0L},{1L,(-3L),0xEA30DD80L,0L,0xEA30DD80L,(-3L),1L,(-3L)},{1L,0L,(-1L),0L,1L,0L,1L,0L},{0xEA30DD80L,0L,0xEA30DD80L,(-3L),1L,(-3L),0xEA30DD80L,0L},{1L,(-3L),0xEA30DD80L,0L,0xEA30DD80L,(-3L),1L,(-3L)},{1L,0L,(-1L),0L,1L,0L,1L,0L},{0xEA30DD80L,0L,0xEA30DD80L,(-3L),1L,(-3L),0xEA30DD80L,0L},{1L,(-3L),0xEA30DD80L,0L,0xEA30DD80L,(-3L),1L,(-3L)},{1L,0L,(-1L),0L,1L,0L,1L,0L},{0xEA30DD80L,0L,0xEA30DD80L,(-3L),1L,(-3L),0xEA30DD80L,0L}};
            uint64_t l_1975 = 18446744073709551614UL;
            struct S1 l_2000 = {0xD4C4C1F6L};
            uint32_t l_2033 = 4294967295UL;
            int i, j;
            l_1895[0] = ((safe_rshift_func_int8_t_s_s(((((l_1886[2][2] , (!((safe_rshift_func_uint32_t_u_u(0x4CCAC8FCL, (p_27 > l_1886[2][2]))) < ((safe_sub_func_uint32_t_u_u((((g_1704[(l_1371 + 1)] , g_1704[(l_1371 + 1)].f0) == p_27) && (p_27 == ((g_554 , &g_1312) != l_1894))), 0xAA2828B5L)) >= 1L)))) | p_27) & 0x8346L) > 6L), 2)) | l_1886[6][2]);
        }
        l_2036[6][1] = &l_1895[1];
        if ((*g_292))
        { /* block id: 1020 */
            const int8_t l_2051 = 0x5DL;
            int64_t *l_2054 = (void*)0;
            int64_t *l_2055 = &g_1499.f0;
            int32_t l_2056 = (-9L);
            l_2056 |= (safe_mul_func_int32_t_s_s((safe_div_func_uint16_t_u_u((((*l_1374) = (((safe_lshift_func_int8_t_s_s(((safe_add_func_int32_t_s_s(0xCFEFFDD8L, 4294967291UL)) > (safe_mul_func_int16_t_s_s(((safe_rshift_func_uint8_t_u_u((safe_lshift_func_uint8_t_u_u((p_27 >= 255UL), 4)), ((****g_1082) , (0xCF57BD49L == (((l_2051 , g_50[1][2][1]) && (((((*l_2055) &= (safe_lshift_func_int16_t_s_u(l_2051, (**g_1620)))) == g_554) >= p_27) & 0x902EDCCFL)) , 0x06D322C3L))))) | 0x62L), g_1247[0]))), p_27)) < p_27) && p_27)) ^ (-4L)), 0xB9B2L)), p_27));
        }
        else
        { /* block id: 1024 */
            uint32_t l_2059[6][3] = {{1UL,1UL,7UL},{0x5ABCD0C2L,0x4F48F8CFL,4294967293UL},{0xEF97DA92L,1UL,0xEF97DA92L},{0xEF97DA92L,0x5ABCD0C2L,1UL},{0x5ABCD0C2L,0xEF97DA92L,0xEF97DA92L},{1UL,0xEF97DA92L,4294967293UL}};
            int32_t l_2060 = 0x650E2F9EL;
            int64_t l_2065 = 1L;
            int32_t l_2066 = 1L;
            struct S1 l_2095 = {0UL};
            int32_t l_2097 = 0x780AA849L;
            int32_t l_2098[5];
            int i, j;
            for (i = 0; i < 5; i++)
                l_2098[i] = 0xA961F706L;
            l_2066 |= (l_2065 = (((((****g_1082) > p_27) > g_1663[8][7][0]) ^ ((((l_2060 = (p_27 ^ (safe_lshift_func_int64_t_s_u(l_2059[4][1], 57)))) != ((void*)0 == l_2061)) == ((&g_1336 == l_2062) , p_27)) & p_27)) != g_63.f0));
            if ((0x2CFAEA1449893E23LL ^ (*g_49)))
            { /* block id: 1028 */
                l_2067--;
                return &g_133;
            }
            else
            { /* block id: 1031 */
                uint8_t l_2070 = 255UL;
                int32_t *l_2079 = (void*)0;
                int32_t *l_2080 = (void*)0;
                int32_t *l_2081 = &g_1127.f2;
                int32_t l_2096 = 0xC255C251L;
                int32_t l_2099 = 0x8059A9A1L;
                int32_t l_2100 = 0x054613D0L;
                int32_t l_2104 = 0xA44D6A85L;
                l_2070++;
                l_2060 &= ((g_2073 , (l_2066 = (((void*)0 == (*g_1335)) & (((safe_lshift_func_uint32_t_u_u(((((safe_mul_func_int32_t_s_s((g_2078 , (p_27 && (((*l_2081) = (p_27 && (-4L))) , (safe_add_func_uint32_t_u_u(((safe_sub_func_int32_t_s_s(((safe_lshift_func_int8_t_s_u(((safe_div_func_int64_t_s_s(((safe_sub_func_uint8_t_u_u(((safe_sub_func_uint16_t_u_u(((**g_1620) = p_27), 0xE552L)) >= (-7L)), g_809[0])) < p_27), l_2094[1])) , (-1L)), 5)) < p_27), 0x8AA0CF92L)) & (*g_1081)), 0x5026629FL))))), (-7L))) , l_2095) , 4294967295UL) == (-2L)), 19)) <= 1L) || 0xEE8BL)))) < p_27);
                g_2101--;
                l_2105--;
            }
        }
    }
    return l_2108[2][5];
}


/* ------------------------------------------ */
/* 
 * reads : g_1057 g_63.f0 g_1071 g_790 g_163 g_75 g_217 g_906 g_1079 g_1082 g_1084 g_836.f2 g_109 g_62 g_1080 g_1081 g_162 g_390 g_391 g_919 g_56 g_275 g_1116 g_809 g_334.f0 g_741 g_49 g_763 g_700.f0 g_937 g_626 g_1137 g_1138 g_1032 g_48 g_57 g_554 g_47 g_50 g_347 g_196 g_133 g_13 g_148 g_1209 g_153 g_270 g_128 g_1305 g_1312 g_276.f0 g_1335 g_171 g_94
 * writes: g_1057 g_836.f2 g_63.f0 g_217 g_906 g_1079 g_741 g_275 g_75 g_1005 g_334.f0 g_50 g_763 g_554 g_679.f2 g_196 g_163 g_133 g_692 g_1312 g_148 g_153 g_158
 */
static int16_t  func_30(uint64_t  p_31)
{ /* block id: 2 */
    struct S1 l_172 = {4294967293UL};
    int32_t l_364 = (-10L);
    struct S1 ***l_389[4];
    struct S1 ****l_388[4][6] = {{&l_389[1],&l_389[1],&l_389[2],&l_389[2],&l_389[1],&l_389[1]},{&l_389[2],&l_389[1],&l_389[2],&l_389[1],&l_389[2],&l_389[2]},{&l_389[0],&l_389[1],&l_389[1],&l_389[0],&l_389[1],&l_389[0]},{&l_389[0],&l_389[1],&l_389[0],&l_389[1],&l_389[1],&l_389[0]}};
    int32_t l_394 = (-1L);
    int32_t l_395 = 1L;
    int32_t l_397 = 0xA50664DFL;
    int32_t l_398 = 0L;
    int32_t l_402 = 1L;
    int32_t l_409[8][5] = {{(-8L),(-8L),(-5L),0x6DA56A92L,0x85E88D1CL},{6L,0L,0L,6L,(-8L)},{6L,0x6DA56A92L,0x80A79286L,0x80A79286L,0x6DA56A92L},{(-8L),0L,0x80A79286L,(-5L),(-5L)},{0L,(-8L),0L,0x80A79286L,(-5L)},{0x6DA56A92L,6L,(-5L),6L,0x6DA56A92L},{0L,6L,(-8L),0x6DA56A92L,(-8L)},{(-8L),(-8L),(-5L),0x6DA56A92L,0x85E88D1CL}};
    uint16_t l_429 = 0UL;
    int32_t **l_434 = (void*)0;
    int32_t ***l_433[9] = {&l_434,&l_434,&l_434,&l_434,&l_434,&l_434,&l_434,&l_434,&l_434};
    int16_t l_475 = 6L;
    int64_t *l_529 = &g_232;
    int32_t l_545[4][10] = {{(-9L),(-9L),(-9L),(-9L),(-9L),(-9L),(-9L),(-9L),(-9L),(-9L)},{(-9L),(-9L),(-9L),(-9L),(-9L),(-9L),(-9L),(-9L),(-9L),(-9L)},{(-9L),(-9L),(-9L),(-9L),(-9L),(-9L),(-9L),(-9L),(-9L),(-9L)},{(-9L),(-9L),(-9L),(-9L),(-9L),(-9L),(-9L),(-9L),(-9L),(-9L)}};
    int32_t l_547 = (-1L);
    uint64_t *l_575[8][6] = {{&g_57,&g_50[1][2][1],&g_50[1][2][1],&g_57,&g_133,&g_133},{&g_133,&g_57,&g_57,&g_57,&g_133,&g_171},{&g_57,&g_133,&g_171,&g_171,&g_133,&g_57},{&g_50[1][2][1],&g_57,&g_133,&g_133,&g_133,&g_57},{&g_133,&g_50[1][2][1],&g_171,&g_57,&g_57,&g_171},{&g_133,&g_133,&g_57,&g_133,&g_57,&g_133},{&g_50[1][2][1],&g_133,&g_50[1][2][1],&g_171,&g_57,&g_57},{&g_57,&g_50[1][2][1],&g_50[1][2][1],&g_57,&g_133,&g_133}};
    const int32_t *l_627 = &l_395;
    int64_t l_649[4][6][2] = {{{7L,7L},{0x9C5268C5D724EB6ELL,0xD999E7DA5EE7AB9ALL},{1L,0x58CF5B2E159407CALL},{0L,0x8C0ECA768F9A0262LL},{0xDA04F5018737E6D1LL,0L},{0x9A19C746039BC216LL,0x0C978D107DC8F233LL}},{{0x9A19C746039BC216LL,0L},{0xDA04F5018737E6D1LL,0x8C0ECA768F9A0262LL},{0L,0x58CF5B2E159407CALL},{1L,0xD999E7DA5EE7AB9ALL},{0x9C5268C5D724EB6ELL,7L},{7L,0L}},{{0x44257EF90C40A65ELL,(-1L)},{0L,0x9A19C746039BC216LL},{(-9L),0x1F3381FBCB653DE0LL},{0xD999E7DA5EE7AB9ALL,0x4A53F7346734966FLL},{0L,9L},{0x1F3381FBCB653DE0LL,9L}},{{0L,0x4A53F7346734966FLL},{0xD999E7DA5EE7AB9ALL,0x1F3381FBCB653DE0LL},{(-9L),0x9A19C746039BC216LL},{0L,(-1L)},{0x44257EF90C40A65ELL,0L},{7L,7L}}};
    const uint32_t l_674 = 4UL;
    uint32_t l_703 = 0xFC159BADL;
    int8_t l_784 = 0x8FL;
    uint32_t *l_881 = &g_763[0];
    union U2 *l_918[6][6][6] = {{{&g_161[1],&g_161[1],&g_161[1],&g_161[1],(void*)0,&g_161[1]},{(void*)0,&g_161[1],&g_161[0],&g_161[1],&g_161[1],&g_161[1]},{&g_161[1],(void*)0,&g_161[0],(void*)0,&g_161[1],&g_161[1]},{(void*)0,(void*)0,&g_161[1],(void*)0,&g_161[1],(void*)0},{(void*)0,&g_161[1],(void*)0,(void*)0,(void*)0,(void*)0},{&g_161[1],&g_161[1],&g_161[1],&g_161[1],(void*)0,&g_161[1]}},{{(void*)0,&g_161[1],&g_161[0],&g_161[1],&g_161[1],&g_161[1]},{&g_161[1],(void*)0,&g_161[0],(void*)0,&g_161[1],&g_161[1]},{(void*)0,(void*)0,&g_161[1],(void*)0,&g_161[1],(void*)0},{(void*)0,&g_161[1],(void*)0,(void*)0,(void*)0,(void*)0},{&g_161[1],&g_161[1],&g_161[1],&g_161[1],(void*)0,&g_161[1]},{(void*)0,&g_679,&g_161[1],&g_161[1],&g_679,(void*)0}},{{&g_161[1],(void*)0,&g_161[1],(void*)0,&g_161[1],(void*)0},{&g_161[1],(void*)0,(void*)0,&g_161[1],&g_679,&g_161[1]},{&g_161[1],&g_679,&g_161[1],(void*)0,(void*)0,&g_161[1]},{&g_161[1],&g_161[1],(void*)0,&g_161[1],(void*)0,(void*)0},{(void*)0,&g_679,&g_161[1],&g_161[1],&g_679,(void*)0},{&g_161[1],(void*)0,&g_161[1],(void*)0,&g_161[1],(void*)0}},{{&g_161[1],(void*)0,(void*)0,&g_161[1],&g_679,&g_161[1]},{&g_161[1],&g_679,&g_161[1],(void*)0,(void*)0,&g_161[1]},{&g_161[1],&g_161[1],(void*)0,&g_161[1],(void*)0,(void*)0},{(void*)0,&g_679,&g_161[1],&g_161[1],&g_679,(void*)0},{&g_161[1],(void*)0,&g_161[1],(void*)0,&g_161[1],(void*)0},{&g_161[1],(void*)0,(void*)0,&g_161[1],&g_679,&g_161[1]}},{{&g_161[1],&g_679,&g_161[1],(void*)0,(void*)0,&g_161[1]},{&g_161[1],&g_161[1],(void*)0,&g_161[1],(void*)0,(void*)0},{(void*)0,&g_679,&g_161[1],&g_161[1],&g_679,(void*)0},{&g_161[1],(void*)0,&g_161[1],(void*)0,&g_161[1],(void*)0},{&g_161[1],(void*)0,(void*)0,&g_161[1],&g_679,&g_161[1]},{&g_161[1],&g_679,&g_161[1],(void*)0,(void*)0,&g_161[1]}},{{&g_161[1],&g_161[1],(void*)0,&g_161[1],(void*)0,(void*)0},{(void*)0,&g_679,&g_161[1],&g_161[1],&g_679,(void*)0},{&g_161[1],(void*)0,&g_161[1],(void*)0,&g_161[1],(void*)0},{&g_161[1],(void*)0,(void*)0,&g_161[1],&g_679,&g_161[1]},{&g_161[1],&g_679,&g_161[1],(void*)0,(void*)0,&g_161[1]},{&g_161[1],&g_161[1],(void*)0,&g_161[1],(void*)0,(void*)0}}};
    int32_t l_1001 = (-4L);
    struct S0 *l_1004[4] = {&g_1005,&g_1005,&g_1005,&g_1005};
    int16_t l_1200[8][8] = {{0x6EF8L,8L,0x8E2CL,0x44F2L,0x8E2CL,8L,0x6EF8L,0x8E2CL},{9L,0xB7C4L,0x5EECL,9L,0xA386L,0xEABAL,0xB7C4L,0xB7C4L},{0x8E2CL,0xA386L,0xCDF0L,0xCDF0L,0xA386L,0x8E2CL,9L,0x44F2L},{9L,9L,0xEB69L,0xB7C4L,0x8E2CL,0xEB69L,0xA386L,0xEB69L},{0x6EF8L,0xB7C4L,1L,0xB7C4L,0x6EF8L,0xB7C4L,0xEB69L,9L},{0x5EECL,0x8E2CL,0xEABAL,0x057DL,0xEB69L,0x5EECL,0x5EECL,0xEB69L},{0xCDF0L,0xEABAL,0xEABAL,0xCDF0L,0xB994L,1L,0xEB69L,0xEABAL},{0xEB69L,8L,0xA386L,9L,8L,9L,8L,9L}};
    int16_t l_1238 = 0xB2C7L;
    int8_t *** const *l_1310 = (void*)0;
    int32_t **** const *l_1321[6];
    int32_t l_1345 = 0xD2F614B2L;
    union U3 *l_1346[9][5] = {{&g_836,(void*)0,&g_836,(void*)0,&g_836},{&g_836,&g_836,&g_836,&g_836,&g_836},{&g_836,&g_836,&g_836,(void*)0,&g_836},{&g_836,&g_836,(void*)0,&g_836,&g_836},{&g_836,&g_836,&g_836,(void*)0,(void*)0},{&g_836,&g_836,&g_836,(void*)0,(void*)0},{&g_836,&g_836,&g_836,&g_836,&g_836},{&g_836,&g_836,&g_836,&g_836,(void*)0},{&g_836,&g_836,&g_836,&g_836,&g_836}};
    uint16_t *l_1363 = &g_919[8];
    uint16_t **l_1362 = &l_1363;
    uint32_t *l_1367 = &g_334[3][3].f0;
    int16_t *l_1368 = &g_153;
    int i, j, k;
    for (i = 0; i < 4; i++)
        l_389[i] = &g_109;
    for (i = 0; i < 6; i++)
        l_1321[i] = &g_1228;
    if (p_31)
    { /* block id: 3 */
        int64_t l_44[9] = {0x55B65AB4D258D033LL,(-6L),0x55B65AB4D258D033LL,(-6L),0x55B65AB4D258D033LL,(-6L),0x55B65AB4D258D033LL,(-6L),0x55B65AB4D258D033LL};
        uint64_t * const l_54 = &g_50[2][4][1];
        struct S0 *l_371 = &g_70;
        struct S0 **l_370 = &l_371;
        struct S1 *l_393[5] = {&g_334[3][3],&g_334[3][3],&g_334[3][3],&g_334[3][3],&g_334[3][3]};
        int32_t l_396 = 0xFD2A935EL;
        int32_t l_404 = (-1L);
        int32_t l_408 = 0x2B7B50C5L;
        int32_t l_410 = 6L;
        int32_t l_411 = 0x83BFA716L;
        int32_t l_413 = (-8L);
        int32_t l_414 = 4L;
        uint64_t l_415 = 0x44300DDB63E37F81LL;
        int32_t l_427 = 0x56753B81L;
        int32_t l_428 = 0x8B0039A6L;
        int32_t **l_484 = &g_163;
        int32_t l_548 = 0x7A56EFE5L;
        int32_t l_549 = 3L;
        int32_t l_550 = 1L;
        int32_t l_551 = 0x442D0EE0L;
        int32_t l_552 = 1L;
        int32_t l_553 = 0x78A24B4AL;
        int32_t l_555[4][5][7] = {{{0xFF8045ECL,0x948B536AL,(-5L),0x948B536AL,0xFF8045ECL,0x948B536AL,(-5L)},{1L,4L,(-8L),(-8L),4L,1L,0xDA4DE453L},{1L,0xA6A92AC8L,1L,0x948B536AL,1L,0xA6A92AC8L,1L},{1L,(-8L),0xDA4DE453L,4L,4L,0xDA4DE453L,(-8L)},{0xFF8045ECL,0xA6A92AC8L,(-5L),0xA6A92AC8L,0xFF8045ECL,0xA6A92AC8L,(-5L)}},{{4L,4L,0xDA4DE453L,(-8L),1L,1L,(-8L)},{1L,0x948B536AL,1L,0xA6A92AC8L,1L,0x948B536AL,1L},{4L,(-8L),(-8L),4L,1L,0xDA4DE453L,0xDA4DE453L},{0xFF8045ECL,0x948B536AL,(-5L),0x948B536AL,0xFF8045ECL,0x948B536AL,(-5L)},{1L,4L,(-8L),(-8L),4L,1L,0xDA4DE453L}},{{1L,0xA6A92AC8L,1L,0x948B536AL,1L,0xA6A92AC8L,1L},{1L,(-8L),0xDA4DE453L,4L,4L,0xDA4DE453L,(-8L)},{0xFF8045ECL,0xA6A92AC8L,(-5L),0xA6A92AC8L,0xFF8045ECL,0xA6A92AC8L,(-5L)},{4L,4L,0xDA4DE453L,(-8L),1L,1L,(-8L)},{1L,0x948B536AL,1L,0xA6A92AC8L,1L,0x948B536AL,1L}},{{4L,(-8L),(-8L),4L,1L,0xDA4DE453L,0xDA4DE453L},{0xFF8045ECL,0x948B536AL,(-5L),0x948B536AL,0xFF8045ECL,0x948B536AL,(-5L)},{1L,4L,(-8L),(-8L),4L,1L,0xDA4DE453L},{1L,0xA6A92AC8L,1L,0x948B536AL,1L,0xA6A92AC8L,1L},{1L,(-8L),0xDA4DE453L,4L,4L,0xDA4DE453L,(-8L)}}};
        uint32_t *l_564 = (void*)0;
        uint32_t l_604 = 0x13A9F2F3L;
        int16_t l_644 = (-1L);
        uint32_t l_712 = 0x78C9D662L;
        int32_t l_813 = 0x7913D635L;
        uint16_t l_827 = 1UL;
        int8_t l_861 = (-1L);
        const struct S1 ***l_904 = &g_900;
        const struct S1 **** const l_903 = &l_904;
        const struct S1 **** const *l_902 = &l_903;
        uint16_t l_934 = 65527UL;
        const int32_t *l_940 = &l_409[3][2];
        struct S1 **l_961[4] = {&l_393[4],&l_393[4],&l_393[4],&l_393[4]};
        uint32_t l_1055 = 4294967288UL;
        int i, j, k;
    }
    else
    { /* block id: 521 */
        struct S1 *****l_1056[1];
        int32_t l_1062[2];
        int8_t **l_1098 = &g_1032;
        int8_t ***l_1097 = &l_1098;
        int8_t ****l_1096 = &l_1097;
        uint32_t l_1187 = 4294967295UL;
        int32_t l_1216 = 0x28A188F0L;
        uint8_t l_1248 = 0x8BL;
        union U2 *l_1269 = (void*)0;
        uint16_t l_1296 = 65526UL;
        uint32_t *l_1302 = &l_703;
        int8_t *** const **l_1311 = &l_1310;
        int8_t *****l_1313 = &g_1312;
        int16_t *l_1314 = &g_148;
        int16_t *l_1322 = &g_153;
        struct S0 ** const **l_1344 = (void*)0;
        int i;
        for (i = 0; i < 1; i++)
            l_1056[i] = &l_388[2][2];
        for (i = 0; i < 2; i++)
            l_1062[i] = 0L;
lbl_1086:
        g_1057 |= (0xB281L > ((void*)0 == l_1056[0]));
lbl_1115:
        for (l_784 = 17; (l_784 >= 4); l_784--)
        { /* block id: 525 */
            uint8_t l_1070 = 0x22L;
            int16_t l_1085 = 0xEAB8L;
            struct S1 *l_1087 = &g_334[3][3];
            for (g_836.f2 = 0; (g_836.f2 <= 21); g_836.f2++)
            { /* block id: 528 */
                uint32_t *l_1067 = &g_63.f0;
                uint8_t *l_1076 = &g_217[1][8];
                union U2 *l_1083 = &g_161[1];
                l_1062[0] ^= 9L;
                if ((safe_add_func_int8_t_s_s(((safe_rshift_func_uint32_t_u_s(((*l_1067)--), (l_1070 < g_1071))) < 5UL), ((*l_1076) |= (safe_lshift_func_uint16_t_u_u(l_1062[0], (safe_div_func_int32_t_s_s(l_1070, (**g_790)))))))))
                { /* block id: 532 */
                    for (g_906 = 0; (g_906 <= 11); g_906++)
                    { /* block id: 535 */
                        (*g_1082) = g_1079[1];
                    }
                }
                else
                { /* block id: 538 */
                    (*g_1084) = l_1083;
                }
                if (p_31)
                    continue;
                if (l_1085)
                    break;
            }
            if (g_836.f2)
                goto lbl_1086;
            l_1087 = (*g_109);
        }
        for (l_703 = 0; (l_703 <= 8); l_703 += 1)
        { /* block id: 549 */
            uint8_t l_1091 = 0xDAL;
            int32_t l_1111 = 0L;
            uint32_t **l_1140 = (void*)0;
            uint32_t l_1143 = 0xE5E5EFDDL;
            int32_t l_1176[9][8] = {{0L,0x716B28A5L,0L,(-7L),0L,0x716B28A5L,0L,1L},{(-1L),0x7A1433B0L,0xC41B7D05L,(-7L),0L,5L,0xAAEFE5BBL,0xD9F27F3FL},{1L,(-7L),0L,9L,0L,9L,0L,(-7L)},{(-1L),0x716B28A5L,1L,0xD9F27F3FL,0L,9L,(-1L),1L},{0L,(-7L),0xC41B7D05L,0x7A1433B0L,(-1L),5L,(-1L),0x7A1433B0L},{1L,0x7A1433B0L,1L,9L,0xAAEFE5BBL,0x716B28A5L,0L,0x7A1433B0L},{0xAAEFE5BBL,0x716B28A5L,0L,0x7A1433B0L,0L,1L,0xAAEFE5BBL,1L},{0xAAEFE5BBL,0xD9F27F3FL,0xC41B7D05L,0xD9F27F3FL,0xAAEFE5BBL,5L,0L,(-7L)},{1L,0xD9F27F3FL,0L,9L,(-1L),1L,0L,0xD9F27F3FL}};
            const struct S0 ** volatile *l_1182 = &g_71;
            int32_t l_1245 = (-1L);
            int32_t ****l_1267 = &l_433[7];
            uint64_t l_1268 = 18446744073709551610UL;
            int i, j;
            if ((((safe_lshift_func_int8_t_s_s(0xC1L, 7)) , (+l_1091)) == ((((void*)0 == &l_918[0][0][4]) <= ((****g_1082) && (1L ^ (((l_1062[0] , l_1062[0]) ^ p_31) | l_1062[0])))) < (*g_163))))
            { /* block id: 550 */
                int8_t ** const *l_1101[4];
                int8_t ** const **l_1100[1];
                int i;
                for (i = 0; i < 4; i++)
                    l_1101[i] = &l_1098;
                for (i = 0; i < 1; i++)
                    l_1100[i] = &l_1101[3];
                for (l_784 = 3; (l_784 >= 0); l_784 -= 1)
                { /* block id: 553 */
                    int8_t *****l_1099 = &l_1096;
                    int i;
                    if (((safe_rshift_func_uint32_t_u_s(((safe_div_func_uint32_t_u_u((((*l_1099) = l_1096) == l_1100[0]), (**g_162))) && 18446744073709551615UL), 12)) > (((safe_unary_minus_func_int16_t_s((safe_unary_minus_func_int64_t_s((((((l_389[l_784] = l_389[l_784]) == (*g_390)) <= 6UL) >= p_31) > ((safe_div_func_uint64_t_u_u(p_31, g_919[2])) & (-1L))))))) == 0xCDL) , (**g_790))))
                    { /* block id: 556 */
                        int32_t l_1106 = 0x18A2393CL;
                        uint32_t *l_1107 = &g_63.f0;
                        uint16_t *l_1110 = &g_275;
                        (*g_163) = (l_1062[0] > ((*l_1110) &= (l_1106 , (g_56 ^ ((*l_1107)++)))));
                        return p_31;
                    }
                    else
                    { /* block id: 561 */
                        uint64_t l_1112 = 0UL;
                        l_1112++;
                        if (g_63.f0)
                            goto lbl_1115;
                    }
                }
                g_1005 = g_1116;
                return p_31;
            }
            else
            { /* block id: 568 */
                union U2 *l_1126 = &g_1127;
                int64_t l_1141 = (-1L);
                int8_t l_1142 = 0x8BL;
                for (g_906 = 0; (g_906 <= 2); g_906 += 1)
                { /* block id: 571 */
                    uint64_t l_1123[5][4] = {{0UL,18446744073709551611UL,0UL,18446744073709551611UL},{0UL,18446744073709551611UL,0UL,18446744073709551611UL},{0UL,18446744073709551611UL,0UL,18446744073709551611UL},{0UL,18446744073709551611UL,0UL,18446744073709551611UL},{0UL,18446744073709551611UL,0UL,18446744073709551611UL}};
                    uint32_t *l_1124 = &g_1057;
                    union U2 **l_1125 = &l_918[4][1][2];
                    int8_t *l_1130 = &g_196;
                    int i, j;
                    for (l_1091 = 0; (l_1091 <= 2); l_1091 += 1)
                    { /* block id: 574 */
                        uint16_t l_1117 = 0UL;
                        int32_t l_1118[8][1][2] = {{{(-4L),0xC076973CL}},{{(-4L),0xC076973CL}},{{(-4L),0xC076973CL}},{{(-4L),0xC076973CL}},{{(-4L),0xC076973CL}},{{(-4L),0xC076973CL}},{{(-4L),0xC076973CL}},{{(-4L),0xC076973CL}}};
                        int i, j, k;
                        l_1111 |= ((**g_790) = l_1117);
                        l_1118[5][0][0] = (-1L);
                        if (l_1062[0])
                            break;
                    }
                    if ((safe_sub_func_int16_t_s_s(((((p_31 = ((((safe_lshift_func_uint16_t_u_s((((p_31 && (g_809[0] | (((*l_881) ^= ((((*l_1124) = l_1123[4][2]) == (g_334[3][3].f0 |= ((void*)0 != &g_234[0][2]))) & ((*g_49) = (((*l_1125) = (*g_1084)) == (l_1126 = g_741))))) , (-1L)))) ^ (safe_mod_func_int32_t_s_s((&l_784 != l_1130), 0x7506DD04L))) < p_31), 0)) , g_700[0][0][2].f0) || 0xD581L) | g_937)) && (-1L)) > 0x1BL) != g_626[5][2][2]), l_1123[0][3])))
                    { /* block id: 587 */
                        struct S1 l_1139 = {0x36C3B729L};
                        int i, j;
                        (**g_790) &= ((safe_lshift_func_uint64_t_u_u((((safe_sub_func_uint16_t_u_u(p_31, (safe_mod_func_int8_t_s_s(((****l_1096) = (l_1123[2][3] , ((g_1137 , g_1138) == (l_1139 , l_1140)))), (((void*)0 != (*l_1097)) | l_1123[3][0]))))) > 9UL) , 0xEB69A4FD8C11713FLL), 42)) ^ l_1141);
                    }
                    else
                    { /* block id: 590 */
                        --l_1143;
                        if (p_31)
                            continue;
                        (*g_163) |= (!(g_48 , (248UL < p_31)));
                    }
                }
                for (l_364 = 2; (l_364 >= 0); l_364 -= 1)
                { /* block id: 598 */
                    uint16_t *l_1188 = (void*)0;
                    int32_t l_1199 = (-1L);
                    uint32_t l_1215 = 8UL;
                    for (g_679.f2 = 2; (g_679.f2 >= 0); g_679.f2 -= 1)
                    { /* block id: 601 */
                        uint32_t *l_1165 = &g_1057;
                        uint8_t *l_1179 = &g_217[0][0];
                        int32_t l_1180 = 0xFEAE5176L;
                        (*g_163) &= ((safe_mul_func_int64_t_s_s((safe_div_func_int8_t_s_s((**g_1080), (safe_sub_func_uint8_t_u_u((safe_sub_func_int8_t_s_s((safe_div_func_int32_t_s_s(((l_1142 == ((0UL & ((safe_mod_func_int64_t_s_s((safe_lshift_func_uint32_t_u_u(((safe_rshift_func_uint8_t_u_s((((++(*l_1165)) > (p_31 , 0x6190AB00L)) <= ((safe_mod_func_uint64_t_u_u(((safe_lshift_func_uint16_t_u_s((((*l_1179) = ((safe_mod_func_int16_t_s_s((l_1142 , (safe_sub_func_int32_t_s_s(((p_31 > (l_1176[0][6] != (safe_add_func_uint32_t_u_u(l_1062[0], g_57)))) < l_1062[0]), p_31))), g_763[0])) > l_1141)) & (*g_1032)), g_56)) != l_1062[0]), l_1062[0])) ^ (*g_1032))), (*g_1032))) , p_31), l_1180)), g_47)) != (*g_1032))) | 0xE7F50003FDF3DBBDLL)) >= g_63.f0), 0xDEBF1808L)), p_31)), g_50[6][1][0])))), 0x3B321D9BAD47B456LL)) <= 0xA74E911876C997C1LL);
                        if ((**g_347))
                            continue;
                    }
                    for (g_196 = 0; (g_196 <= 2); g_196 += 1)
                    { /* block id: 609 */
                        (*g_790) = &l_1062[1];
                        l_1182 = &g_199;
                        return l_1142;
                    }
                    for (g_133 = 0; (g_133 <= 2); g_133 += 1)
                    { /* block id: 616 */
                        uint32_t *l_1183[2][8] = {{&g_1057,&g_63.f0,&g_1057,&g_63.f0,&g_1057,&g_63.f0,&g_1057,&g_63.f0},{&g_1057,&g_63.f0,&g_1057,&g_63.f0,&g_1057,&g_63.f0,&g_1057,&g_63.f0}};
                        int32_t l_1186 = 0L;
                        uint8_t *l_1210 = &l_1091;
                        struct S0 *l_1217 = &g_692;
                        int i, j;
                        l_1200[0][0] ^= ((*g_163) = (((l_1183[1][2] != &g_154) <= ((g_1057 = (safe_mul_func_int64_t_s_s(l_1186, (l_1187 && (&l_429 != l_1188))))) <= ((~0UL) != ((safe_unary_minus_func_int16_t_s(((safe_add_func_int16_t_s_s((safe_sub_func_uint16_t_u_u(g_13, (safe_mul_func_int8_t_s_s(((safe_unary_minus_func_uint32_t_u(((~g_148) <= p_31))) < p_31), (*l_627))))), g_47)) == l_1199))) , p_31)))) != l_1186));
                        l_1216 |= (l_1062[1] &= (safe_mod_func_int16_t_s_s(((((safe_mod_func_uint16_t_u_u((&p_31 != (void*)0), p_31)) < (safe_sub_func_int8_t_s_s((((p_31 < ((*g_163) = (safe_mul_func_uint8_t_u_u((g_1209[0] , ((*l_1210)++)), g_937)))) | ((g_153 != (*g_1032)) | (safe_div_func_uint64_t_u_u(l_1186, l_1215)))) != 1L), (*g_1032)))) , g_270) , 0xDC83L), g_50[2][4][2])));
                        (*l_1217) = g_128[1][3][0];
                    }
                }
            }
            for (l_1187 = 0; l_1187 < 4; l_1187 += 1)
            {
                l_389[l_1187] = &g_109;
            }
            for (l_1111 = 2; (l_1111 >= 0); l_1111 -= 1)
            { /* block id: 631 */
                int16_t *l_1230 = &l_475;
                int16_t *l_1231 = &g_47;
                int32_t l_1232 = (-4L);
                uint32_t l_1237 = 4294967288UL;
                int32_t l_1240 = 0x3A667F28L;
                int32_t l_1241 = 0x5A92E096L;
                int32_t l_1244[9];
                union U2 **l_1270 = &g_741;
                int i;
                for (i = 0; i < 9; i++)
                    l_1244[i] = 0xE7BE2BA0L;
            }
            return g_1116.f0;
        }
        if ((safe_rshift_func_int8_t_s_s(((safe_mod_func_int64_t_s_s(((((l_1216 || ((*l_1302)++)) == ((g_1305 , ((safe_mod_func_int16_t_s_s(((*l_1314) = (safe_mul_func_int16_t_s_s((-1L), (((*l_1311) = l_1310) == ((*l_1313) = g_1312))))), (safe_div_func_uint8_t_u_u((safe_rshift_func_uint8_t_u_s(((safe_mul_func_int16_t_s_s(((*l_1322) = (l_1321[1] != l_1321[1])), 0xD1D6L)) == ((p_31 , (void*)0) != &g_50[1][2][1])), l_1062[0])), p_31)))) == p_31)) , g_276.f0)) > p_31) > 0L), g_56)) , l_1248), 5)))
        { /* block id: 677 */
            struct S1 * const *l_1328 = &g_66;
            struct S1 * const **l_1327[1][10][3] = {{{&l_1328,&l_1328,&l_1328},{&l_1328,&l_1328,&l_1328},{&l_1328,&l_1328,&l_1328},{&l_1328,&l_1328,(void*)0},{&l_1328,&l_1328,&l_1328},{(void*)0,&l_1328,&l_1328},{&l_1328,&l_1328,&l_1328},{&l_1328,(void*)0,&l_1328},{&l_1328,&l_1328,&l_1328},{&l_1328,&l_1328,&l_1328}}};
            struct S1 * const ***l_1326 = &l_1327[0][4][0];
            struct S1 * const ****l_1325[8] = {&l_1326,&l_1326,&l_1326,&l_1326,&l_1326,&l_1326,&l_1326,&l_1326};
            struct S0 **l_1341[6][6][3] = {{{&g_1338[0],&g_1338[2],&g_1338[2]},{&l_1004[0],&g_1338[0],&g_1338[0]},{&l_1004[2],&l_1004[0],&l_1004[0]},{&g_1338[0],&l_1004[1],(void*)0},{&g_1338[0],&g_1338[0],&l_1004[0]},{&g_1338[2],&l_1004[0],&l_1004[1]}},{{&l_1004[1],&l_1004[0],&l_1004[0]},{&g_1338[2],&l_1004[0],&g_1338[0]},{&g_1338[1],&g_1338[0],(void*)0},{(void*)0,&l_1004[1],&l_1004[0]},{&l_1004[0],&l_1004[0],&g_1338[1]},{&l_1004[1],&g_1338[0],&l_1004[0]}},{{&l_1004[1],&g_1338[2],(void*)0},{&l_1004[0],&g_1338[2],&g_1338[0]},{&g_1338[0],(void*)0,&g_1338[0]},{&l_1004[0],&l_1004[0],(void*)0},{&g_1338[0],&l_1004[2],&l_1004[0]},{&g_1338[0],(void*)0,&g_1338[1]}},{{&l_1004[0],&l_1004[1],&l_1004[0]},{&g_1338[0],&l_1004[0],(void*)0},{&g_1338[2],(void*)0,&g_1338[0]},{&l_1004[0],&g_1338[1],&l_1004[0]},{(void*)0,&l_1004[0],&l_1004[1]},{&l_1004[0],&g_1338[0],&l_1004[0]}},{{&g_1338[2],&g_1338[0],(void*)0},{&g_1338[0],&l_1004[0],&l_1004[0]},{&l_1004[0],&g_1338[0],&g_1338[0]},{&g_1338[0],&g_1338[0],&g_1338[2]},{&g_1338[0],&g_1338[0],&l_1004[0]},{&l_1004[0],&g_1338[0],&l_1004[0]}},{{&g_1338[0],&g_1338[0],&g_1338[2]},{&l_1004[0],&g_1338[0],&g_1338[2]},{&l_1004[1],&g_1338[0],&g_1338[0]},{&l_1004[1],&g_1338[0],(void*)0},{&l_1004[0],&l_1004[0],(void*)0},{(void*)0,&g_1338[0],(void*)0}}};
            struct S0 *** const l_1340 = &l_1341[4][5][0];
            struct S0 *** const *l_1339 = &l_1340;
            int i, j, k;
            (*g_163) = ((safe_sub_func_uint8_t_u_u(g_275, ((l_1325[2] != (void*)0) && (safe_sub_func_uint32_t_u_u(((l_1062[0] & (-1L)) ^ (safe_lshift_func_int32_t_s_s(p_31, 14))), 0xD288F954L))))) >= ((safe_sub_func_uint64_t_u_u(((l_1339 = g_1335) != (((safe_rshift_func_uint8_t_u_s(((g_919[5] == (*g_49)) < (*l_627)), l_1062[1])) != g_196) , l_1344)), p_31)) || l_1248));
            if (g_75)
                goto lbl_1086;
        }
        else
        { /* block id: 681 */
            union U3 **l_1347 = &l_1346[2][0];
            (**g_790) &= l_1345;
            (*l_1347) = l_1346[2][0];
        }
    }
    (**g_790) ^= (p_31 != (((*l_1368) = (((((safe_mul_func_int32_t_s_s((safe_rshift_func_int64_t_s_s((safe_div_func_int64_t_s_s((safe_add_func_int64_t_s_s((safe_unary_minus_func_int8_t_s(p_31)), (0xB902A768L < (((safe_unary_minus_func_uint16_t_u((((safe_mod_func_uint16_t_u_u((&l_1346[2][0] == &l_1346[6][0]), (safe_mul_func_uint64_t_u_u((&g_158 == ((*l_1362) = (void*)0)), (*g_49))))) , (g_158 = (~(safe_mod_func_uint8_t_u_u((((*l_1367) = 4294967291UL) >= 4UL), 246UL))))) > 0UL))) || g_148) ^ p_31)))), p_31)), g_919[4])), p_31)) == 0x5AL) != (*g_1032)) > 0xC7E92BE7L) != (*l_627))) | g_171));
    return g_94[5];
}


/* ------------------------------------------ */
/* 
 * reads : g_148 g_49 g_50 g_57 g_196 g_56 g_94 g_75 g_68 g_199 g_171 g_47 g_219 g_133 g_225 g_234 g_217 g_158 g_63.f0 g_270 g_226 g_276 g_279 g_232 g_66 g_63 g_292 g_293 g_162 g_337 g_154 g_347 g_161.f0 g_65
 * writes: g_148 g_133 g_158 g_196 g_75 g_72 g_63.f0 g_217 g_219 g_57 g_226 g_234 g_47 g_153 g_163 g_275 g_232 g_128 g_50 g_56 g_171 g_334 g_66
 */
static const int32_t  func_32(uint32_t  p_33, uint64_t * p_34, uint64_t * const  p_35, struct S1  p_36, uint64_t * p_37)
{ /* block id: 90 */
    struct S1 ** volatile *l_174 = (void*)0;
    int32_t l_193[1];
    const uint8_t l_194[7][5] = {{8UL,8UL,8UL,8UL,8UL},{8UL,8UL,8UL,8UL,8UL},{8UL,8UL,8UL,8UL,8UL},{8UL,8UL,8UL,8UL,8UL},{8UL,8UL,8UL,8UL,8UL},{8UL,8UL,8UL,8UL,8UL},{8UL,8UL,8UL,8UL,8UL}};
    uint32_t l_197 = 0xDE5E56C9L;
    uint32_t l_319[2][3][9] = {{{4294967289UL,4294967288UL,0x912836B3L,4294967288UL,4294967289UL,0xDE7662D7L,0xDE7662D7L,4294967289UL,4294967288UL},{0x18116297L,1UL,0x18116297L,1UL,0x4FBB8765L,0x4FBB8765L,1UL,0x18116297L,1UL},{0x5A0E175AL,0UL,0xDE7662D7L,0x912836B3L,0x912836B3L,0xDE7662D7L,0UL,0x5A0E175AL,0UL}},{{1UL,0x3F634CE5L,1UL,1UL,0x3F634CE5L,1UL,0x4FBB8765L,1UL,0x3F634CE5L},{4294967288UL,4294967289UL,4294967289UL,0UL,0x7394197AL,0xDE7662D7L,0x7394197AL,0UL,4294967289UL},{4294967295UL,4294967295UL,1UL,1UL,1UL,1UL,1UL,4294967295UL,4294967295UL}}};
    int i, j, k;
    for (i = 0; i < 1; i++)
        l_193[i] = 0x9BA30310L;
    l_174 = &g_65;
    for (g_148 = 0; (g_148 <= 1); g_148 += 1)
    { /* block id: 94 */
        int8_t l_186 = (-1L);
        int32_t l_200 = 0xE99ADD51L;
        struct S0 *l_223 = &g_70;
        struct S0 * const *l_222 = &l_223;
        int32_t l_227[4][8] = {{0L,0L,0L,0L,0L,0L,0L,0L},{0xEABE1C99L,0L,0xEABE1C99L,0xEABE1C99L,0L,0xEABE1C99L,0xEABE1C99L,0L},{0L,0xEABE1C99L,0xEABE1C99L,0L,0xEABE1C99L,0xEABE1C99L,0L,0xEABE1C99L},{0L,0L,0L,0L,0L,0L,0L,0L}};
        uint8_t l_255[1];
        int16_t *l_289 = &g_47;
        int32_t **l_359 = (void*)0;
        int32_t ***l_358 = &l_359;
        int32_t ****l_357[3];
        int i, j;
        for (i = 0; i < 1; i++)
            l_255[i] = 1UL;
        for (i = 0; i < 3; i++)
            l_357[i] = &l_358;
        for (g_133 = 0; (g_133 <= 3); g_133 += 1)
        { /* block id: 97 */
            int32_t **l_182[10][1][4] = {{{(void*)0,&g_163,&g_163,(void*)0}},{{&g_163,&g_163,&g_163,&g_163}},{{&g_163,&g_163,&g_163,&g_163}},{{&g_163,&g_163,&g_163,&g_163}},{{(void*)0,&g_163,(void*)0,&g_163}},{{(void*)0,&g_163,&g_163,(void*)0}},{{&g_163,&g_163,&g_163,&g_163}},{{&g_163,&g_163,&g_163,&g_163}},{{&g_163,&g_163,&g_163,&g_163}},{{(void*)0,&g_163,(void*)0,&g_163}}};
            uint16_t *l_183 = &g_158;
            int8_t *l_195 = &g_196;
            int32_t *l_221 = (void*)0;
            int32_t l_230[8][8][4] = {{{0x15ADF492L,(-2L),(-9L),0x149C64D6L},{0xA0215C44L,1L,0x22876F92L,(-1L)},{0x40DDB9D4L,1L,2L,(-1L)},{0x6E9F9F4BL,0xA15EDD2BL,0x15ADF492L,0xDB490537L},{(-8L),0x680F40A1L,4L,0x09B8FF13L},{0xDA8E2CCAL,0xE3912886L,0xDA8E2CCAL,2L},{0x22876F92L,(-9L),(-2L),1L},{5L,0xDB490537L,5L,(-9L)}},{{0x680F40A1L,1L,5L,0x6953CCBCL},{5L,0xA0215C44L,(-2L),2L},{0x22876F92L,8L,0xDA8E2CCAL,6L},{0xDA8E2CCAL,6L,4L,5L},{(-8L),0x22876F92L,0x15ADF492L,8L},{0x6E9F9F4BL,4L,2L,0L},{0x40DDB9D4L,0x6E9F9F4BL,0x22876F92L,0xE3912886L},{0xA0215C44L,(-9L),(-9L),0xA0215C44L}},{{0x15ADF492L,3L,4L,0x22876F92L},{0x11731A21L,0x6953CCBCL,1L,(-2L)},{(-9L),0xDA8E2CCAL,0x0483999EL,(-2L)},{(-10L),0x6953CCBCL,0x48C06950L,0x22876F92L},{0x149C64D6L,3L,0x40DDB9D4L,0xA0215C44L},{(-2L),(-9L),0x149C64D6L,0xE3912886L},{8L,0x6E9F9F4BL,0xA0215C44L,0L},{0x09B8FF13L,4L,0x72009605L,8L}},{{0x6953CCBCL,0x22876F92L,0xA15EDD2BL,5L},{(-2L),0xDB490537L,0x48C06950L,0xDB490537L},{1L,0L,0xDB490537L,0x15ADF492L},{0x15ADF492L,(-10L),0x22876F92L,0x680F40A1L},{0x149C64D6L,6L,5L,0x09B8FF13L},{0x149C64D6L,0x72009605L,0x22876F92L,5L},{0x15ADF492L,0x09B8FF13L,0xDB490537L,0x6E9F9F4BL},{1L,0x22876F92L,0x48C06950L,0x6953CCBCL}},{{2L,0x0483999EL,1L,0x72009605L},{0x680F40A1L,1L,(-1L),1L},{0x6953CCBCL,0xDA8E2CCAL,(-10L),(-9L)},{0L,5L,1L,1L},{0x40DDB9D4L,0x40DDB9D4L,0xC32E7B3CL,0xE00048D7L},{1L,8L,(-2L),5L},{0xA15EDD2BL,(-9L),0x149C64D6L,(-2L)},{0xA0215C44L,(-9L),5L,5L}},{{(-9L),8L,1L,0xE00048D7L},{3L,0x40DDB9D4L,0xA0215C44L,1L},{(-10L),5L,2L,(-9L)},{0xC32E7B3CL,0xDA8E2CCAL,0x15ADF492L,1L},{4L,1L,3L,0x72009605L},{0xE00048D7L,0x0483999EL,(-2L),0x6953CCBCL},{0x11731A21L,0x22876F92L,0x11731A21L,0x6E9F9F4BL},{2L,0x09B8FF13L,0x40DDB9D4L,5L}},{{8L,0x72009605L,4L,0x09B8FF13L},{0x0483999EL,6L,4L,0x680F40A1L},{8L,(-10L),0x40DDB9D4L,0x15ADF492L},{2L,0L,0x11731A21L,0xDB490537L},{0x11731A21L,0xDB490537L,(-2L),4L},{0xE00048D7L,2L,3L,0L},{4L,1L,0x15ADF492L,0x48C06950L},{0xC32E7B3CL,4L,2L,0x22876F92L}},{{(-10L),0xA0215C44L,0xA0215C44L,(-10L)},{3L,5L,1L,2L},{(-9L),0x680F40A1L,5L,2L},{0xA0215C44L,0x11731A21L,0x149C64D6L,2L},{0xA15EDD2BL,0x680F40A1L,(-2L),2L},{1L,5L,0xC32E7B3CL,(-10L)},{0x40DDB9D4L,0xA0215C44L,1L,0x22876F92L},{0L,4L,(-10L),0x48C06950L}}};
            int i, j, k;
            g_75 ^= (safe_rshift_func_int32_t_s_u(((p_36.f0 | (safe_unary_minus_func_uint32_t_u(((((safe_lshift_func_int16_t_s_s((safe_add_func_uint16_t_u_u(((*l_183) = (((void*)0 == l_182[7][0][3]) | p_33)), (safe_mul_func_int8_t_s_s(((l_186 = 0x8862L) == ((*g_49) >= 0UL)), ((*l_195) &= (safe_mul_func_int16_t_s_s(((safe_add_func_uint64_t_u_u((safe_add_func_uint64_t_u_u(l_193[0], l_194[3][0])), 0x01D9BD75CEE96C84LL)) && 255UL), g_57))))))), g_56)) < p_36.f0) < l_197) , g_94[5])))) , 0xA1B903DAL), 9));
            if ((*g_68))
                continue;
            if (p_36.f0)
            { /* block id: 103 */
                const struct S0 *l_198 = &g_70;
                int8_t *l_205 = &l_186;
                uint32_t *l_215 = &g_63.f0;
                uint8_t *l_216 = &g_217[2][6];
                int32_t l_218[9][8][3] = {{{(-1L),0xA0CDF28EL,0xA0CDF28EL},{(-9L),0xC6678C47L,0xECEDD2ABL},{(-1L),0xA0CDF28EL,0xA0CDF28EL},{(-9L),0xC6678C47L,0xECEDD2ABL},{(-1L),0xA0CDF28EL,0xA0CDF28EL},{(-9L),0xC6678C47L,0xECEDD2ABL},{(-1L),0xA0CDF28EL,0xA0CDF28EL},{(-9L),0xC6678C47L,0xECEDD2ABL}},{{(-1L),0xA0CDF28EL,0xA0CDF28EL},{(-9L),0xC6678C47L,0xECEDD2ABL},{(-1L),0xA0CDF28EL,0xA0CDF28EL},{(-9L),0xC6678C47L,0xECEDD2ABL},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)}},{{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)}},{{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)}},{{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)}},{{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)}},{{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)}},{{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)}},{{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)},{0xA0CDF28EL,9L,9L},{0xECEDD2ABL,0xF161F6DFL,(-10L)}}};
                int i, j, k;
                (*g_199) = l_198;
                l_200 = (2UL ^ (0xD2L > 1UL));
                g_219 ^= (safe_rshift_func_int16_t_s_u((safe_unary_minus_func_int8_t_s(((*l_205) = ((p_33 | ((*l_195) = (!(*p_35)))) > g_57)))), ((*g_68) | (+(((g_75 < (safe_lshift_func_int32_t_s_s((((safe_sub_func_uint32_t_u_u(8UL, (3L >= (safe_rshift_func_uint32_t_u_u((((*l_216) = ((safe_lshift_func_uint64_t_u_s((((*l_215) = g_50[0][1][3]) || p_36.f0), p_33)) < g_47)) & 0x3BL), l_218[5][3][2]))))) , p_33) & 255UL), 2))) > (*p_37)) == p_33)))));
                for (g_57 = 0; (g_57 <= 1); g_57 += 1)
                { /* block id: 113 */
                    int32_t *l_220 = (void*)0;
                    int i, j, k;
                    l_221 = l_220;
                    if (g_50[(g_133 + 4)][g_133][(g_148 + 2)])
                        continue;
                    return p_36.f0;
                }
            }
            else
            { /* block id: 118 */
                l_193[0] &= (l_222 == &l_223);
            }
            if ((*g_68))
                break;
            for (g_158 = 0; (g_158 <= 3); g_158 += 1)
            { /* block id: 124 */
                const int32_t *l_224 = &g_75;
                int32_t l_229 = 0x0527778EL;
                int32_t l_231 = 9L;
                int32_t l_233 = 0xEEA15874L;
                for (g_219 = 0; (g_219 <= 1); g_219 += 1)
                { /* block id: 127 */
                    int64_t l_228 = 1L;
                    (*g_225) = l_224;
                    --g_234[0][2];
                }
                l_193[0] |= p_33;
                return (*l_224);
            }
        }
        (*g_225) = (void*)0;
        for (g_47 = 0; (g_47 <= 3); g_47 += 1)
        { /* block id: 138 */
            int16_t *l_243 = &g_153;
            int32_t l_249 = (-1L);
            uint16_t *l_250 = (void*)0;
            uint16_t *l_251 = &g_158;
            int32_t l_282 = 8L;
            int32_t l_322[9] = {(-2L),0xEE09CF0BL,0xEE09CF0BL,(-2L),0xEE09CF0BL,0xEE09CF0BL,(-2L),0xEE09CF0BL,0xEE09CF0BL};
            struct S1 l_335[1] = {{0x6E9846EEL}};
            const uint16_t *l_349 = (void*)0;
            uint32_t l_352 = 0x805FF6CDL;
            int i;
            if (((safe_mod_func_uint8_t_u_u((((((safe_rshift_func_uint32_t_u_u(p_36.f0, (safe_mul_func_uint16_t_u_u(((4294967295UL >= p_33) ^ p_33), ((*l_243) = p_33))))) , (safe_unary_minus_func_uint64_t_u((65531UL == (g_234[4][0] > g_217[2][6]))))) & ((safe_sub_func_uint8_t_u_u((safe_rshift_func_uint8_t_u_u(((((((*l_251) ^= (((p_33 == 0L) , l_249) & l_186)) >= l_200) , g_133) != (*p_37)) ^ 9UL), 0)), p_36.f0)) != p_36.f0)) < (-1L)) && l_249), 246UL)) & p_33))
            { /* block id: 141 */
                uint64_t l_252 = 18446744073709551615UL;
                for (g_75 = 0; (g_75 <= 1); g_75 += 1)
                { /* block id: 144 */
                    l_252 &= (-3L);
                    return (*g_68);
                }
            }
            else
            { /* block id: 148 */
                uint32_t *l_258 = &g_63.f0;
                int32_t **l_271 = &g_163;
                int32_t *l_272 = (void*)0;
                int32_t *l_273 = &l_200;
                uint16_t *l_274 = &g_275;
                uint8_t *l_290 = (void*)0;
                uint8_t *l_291 = &g_219;
                if (((g_158 && 0x31B7860BB8B317F3LL) == ((safe_div_func_uint16_t_u_u((l_255[0] = l_249), ((safe_lshift_func_int32_t_s_s(0x2D07DAD9L, 19)) ^ ((*l_258)--)))) && (+((*l_274) = (safe_mul_func_int16_t_s_s((safe_rshift_func_int32_t_s_u(((*l_273) = ((safe_mod_func_uint64_t_u_u((((safe_rshift_func_int16_t_s_s(p_33, (((((*l_271) = (g_270 , l_258)) == &l_193[0]) && ((*g_225) == &g_56)) == (*p_37)))) & 0xDD833FBFL) , (*p_35)), g_171)) != g_217[1][5])), p_33)), 0xC03DL)))))))
                { /* block id: 154 */
                    for (g_232 = 0; (g_232 <= 1); g_232 += 1)
                    { /* block id: 157 */
                        int i, j, k;
                        g_128[(g_47 + 2)][(g_148 + 2)][g_148] = g_276;
                        (*l_273) &= (safe_lshift_func_uint16_t_u_s((0xF5C83813D3AF03E8LL == ((g_279 , g_94[g_47]) , (g_50[(g_232 + 3)][g_232][(g_232 + 2)] &= (safe_add_func_uint16_t_u_u(g_94[(g_232 + 3)], 6L))))), 11));
                        if (l_282)
                            break;
                        (*l_273) = (l_197 || l_249);
                    }
                }
                else
                { /* block id: 164 */
                    return p_36.f0;
                }
                if (p_33)
                    continue;
                (*l_273) = ((((safe_sub_func_int32_t_s_s(p_33, ((g_276.f0 != g_217[2][6]) ^ 0x67L))) & (*p_34)) == l_255[0]) < ((*g_66) , (safe_div_func_int64_t_s_s(((safe_mod_func_uint8_t_u_u((g_158 , ((*l_291) ^= ((l_289 == &g_153) & g_133))), p_36.f0)) != p_33), 0x2A97E7C0EF8D422ALL))));
            }
            (*g_292) &= l_200;
            for (g_63.f0 = 0; (g_63.f0 <= 3); g_63.f0 += 1)
            { /* block id: 174 */
                int64_t *l_317 = (void*)0;
                int64_t *l_318[2][8] = {{&g_232,&g_232,&g_232,&g_232,&g_232,&g_232,&g_232,&g_232},{&g_232,&g_232,&g_232,&g_232,&g_232,&g_232,&g_232,&g_232}};
                int32_t *l_320 = (void*)0;
                int32_t *l_321 = &g_56;
                int32_t *l_323 = &l_193[0];
                int32_t *l_324 = &g_56;
                int32_t *l_325 = &l_193[0];
                int32_t *l_326 = &l_227[1][4];
                int32_t *l_327 = (void*)0;
                int32_t *l_328 = &l_193[0];
                int32_t *l_329 = &l_322[6];
                int32_t *l_330[1][2];
                uint32_t l_331 = 4294967295UL;
                int i, j, k;
                for (i = 0; i < 1; i++)
                {
                    for (j = 0; j < 2; j++)
                        l_330[i][j] = &l_193[0];
                }
                (*l_321) ^= (g_293 , (safe_lshift_func_uint32_t_u_s(p_36.f0, ((safe_mod_func_uint8_t_u_u((((((safe_unary_minus_func_int8_t_s((safe_sub_func_int8_t_s_s((safe_lshift_func_int16_t_s_s(0x41BFL, 15)), ((safe_div_func_int8_t_s_s((l_282 <= (safe_mod_func_uint64_t_u_u((safe_div_func_uint32_t_u_u(((0x00C5AB965B3739AFLL && (l_227[0][2] = (safe_rshift_func_uint64_t_u_s(((*p_37) ^= ((safe_mul_func_int8_t_s_s(0x61L, l_193[0])) | (safe_mod_func_uint64_t_u_u((*g_49), (safe_mod_func_uint64_t_u_u(g_57, p_36.f0)))))), g_50[1][2][1])))) > l_193[0]), 0x70371D9BL)), g_63.f0))), l_255[0])) < p_33))))) & g_158) ^ l_319[1][0][4]) > p_36.f0) >= g_232), p_33)) <= (-9L)))));
                l_331--;
                p_36 = (g_334[3][3] = (*g_66));
                for (g_133 = 0; (g_133 <= 1); g_133 += 1)
                { /* block id: 183 */
                    int8_t *l_342 = &l_186;
                    (*g_162) = &l_227[1][4];
                    (*g_337) = l_335[0];
                    if ((((safe_mod_func_uint32_t_u_u(((((*l_342) ^= (safe_sub_func_int32_t_s_s(l_319[0][0][7], (p_33 < g_154)))) > l_319[1][0][4]) & (l_227[1][4] >= 0x19070582L)), ((p_33 && (g_57 <= 0x8F33L)) || l_194[0][4]))) , (*g_49)) , 0x4368FA08L))
                    { /* block id: 187 */
                        int32_t *l_343 = &l_322[3];
                        int32_t **l_344 = (void*)0;
                        int32_t **l_345 = (void*)0;
                        (*g_347) = l_343;
                        return p_36.f0;
                    }
                    else
                    { /* block id: 190 */
                        const uint16_t *l_348 = &g_158;
                        int32_t l_350 = 9L;
                        int32_t l_351 = 0x8F6F16FDL;
                        int32_t **l_355 = &l_330[0][1];
                        int32_t **l_356 = &l_321;
                        int32_t *****l_361 = &l_357[2];
                        (*l_321) = ((l_348 != (l_349 = l_348)) | g_161[1].f0);
                        l_352++;
                        (*l_356) = ((*l_355) = &l_227[1][4]);
                        (*l_361) = l_357[2];
                    }
                }
                for (g_232 = 1; (g_232 >= 0); g_232 -= 1)
                { /* block id: 201 */
                    if (l_194[3][0])
                        break;
                }
            }
        }
    }
    (**l_174) = &p_36;
    return l_193[0];
}


/* ------------------------------------------ */
/* 
 * reads : g_47 g_62 g_65 g_68 g_56 g_71 g_70 g_63.f0 g_57 g_50 g_75 g_94 g_48.f0 g_13 g_72 g_128 g_66 g_154 g_159 g_161 g_162 g_163 g_158
 * writes: g_47 g_57 g_62 g_66 g_56 g_72 g_63.f0 g_70 g_75 g_94 g_109 g_133 g_50 g_148 g_154 g_158 g_163
 */
static uint64_t * func_38(uint32_t  p_39, uint64_t * p_40)
{ /* block id: 9 */
    uint16_t l_80 = 0x395FL;
    uint32_t l_81 = 0UL;
    int32_t l_84 = 4L;
    int32_t l_86[5][6][6] = {{{0x379EBF7AL,0x71667F30L,0x71667F30L,0x379EBF7AL,0x235E97BCL,0xB93C35E3L},{0xBBEE733DL,0x205434A3L,0L,0xDFC5AECEL,0L,1L},{0x55718CB2L,(-5L),(-1L),0x6D442F44L,0L,0x39EBEB9EL},{0x5970AEDAL,0x205434A3L,0x6BD8041EL,0x8B3ED55EL,0x235E97BCL,0x9C58AC2CL},{0x8EE533B9L,0x71667F30L,0L,0L,(-4L),9L},{0x6BD8041EL,1L,0xCAA3E211L,0xA35296D3L,0L,(-5L)}},{{0x510FED72L,0xE9565209L,0L,9L,0x330C07BBL,(-4L)},{0x205434A3L,0x510FED72L,0x5970AEDAL,0L,0xE9565209L,0L},{0xBBEE733DL,0x39EBEB9EL,0x330C07BBL,0x39EBEB9EL,0xBBEE733DL,9L},{0L,(-5L),1L,(-1L),0L,0xDFC5AECEL},{0x9B3387B9L,0x379EBF7AL,0x6BD8041EL,(-5L),1L,0xDFC5AECEL},{1L,0xEA876B16L,1L,0L,0xCAA3E211L,9L}},{{1L,0x6BD8041EL,0x330C07BBL,0xB93C35E3L,0L,0L},{0x4C462F11L,1L,0x5970AEDAL,9L,(-1L),(-4L)},{0x39EBEB9EL,0x4C462F11L,0L,0x205434A3L,0L,(-5L)},{0xBBEE733DL,0x9C58AC2CL,0xCAA3E211L,0x55718CB2L,0xB93C35E3L,9L},{0x9C58AC2CL,(-5L),0L,0L,(-5L),0x9C58AC2CL},{0L,0xDFC5AECEL,0x6BD8041EL,0L,0x8EE533B9L,0x39EBEB9EL}},{{0xE9565209L,0x5970AEDAL,(-1L),0L,1L,1L},{0xE9565209L,0L,0L,0L,0L,0xB93C35E3L},{0L,0x8EE533B9L,0x71667F30L,0L,0L,(-4L)},{0x9C58AC2CL,0L,0x510FED72L,0x55718CB2L,1L,0x8B3ED55EL},{0xBBEE733DL,0L,0xE195E041L,0x205434A3L,0x8B3ED55EL,0L},{0x39EBEB9EL,(-5L),0xB6C63C42L,9L,0xA35296D3L,0x379EBF7AL}},{{0x4C462F11L,0x55718CB2L,0x6BD8041EL,0xB93C35E3L,0x6BD8041EL,0x55718CB2L},{1L,0x9B3387B9L,9L,0L,0xE195E041L,0xB6C63C42L},{1L,0x235E97BCL,1L,(-5L),0L,0xA35296D3L},{0x9B3387B9L,0x235E97BCL,0x4C462F11L,(-1L),0xE195E041L,(-4L)},{0L,0x9B3387B9L,0xEA876B16L,0x39EBEB9EL,0x6BD8041EL,0xBBEE733DL},{0xBBEE733DL,0x4C462F11L,1L,0x5970AEDAL,9L,(-1L)}}};
    uint32_t l_103[4][4] = {{0x4483B597L,4294967294UL,0x4481F50DL,0x4481F50DL},{7UL,7UL,0x4483B597L,0x4481F50DL},{0UL,4294967294UL,0UL,0x4483B597L},{0UL,0x4483B597L,0x4483B597L,0UL}};
    struct S1 **l_110 = (void*)0;
    int16_t *l_146 = &g_47;
    int i, j, k;
    for (g_47 = 0; (g_47 <= 27); g_47 = safe_add_func_int16_t_s_s(g_47, 3))
    { /* block id: 12 */
        const struct S0 *l_69 = &g_70;
        int32_t *l_85 = &g_75;
        int32_t *l_87 = (void*)0;
        int32_t *l_88 = &g_56;
        int32_t *l_89 = &g_75;
        int32_t *l_90 = &l_84;
        int32_t *l_91 = &l_84;
        int32_t *l_92 = &l_86[1][3][2];
        int32_t *l_93[3];
        struct S1 ***l_138 = &l_110;
        int i;
        for (i = 0; i < 3; i++)
            l_93[i] = (void*)0;
        for (g_57 = 0; (g_57 <= 3); g_57 += 1)
        { /* block id: 15 */
            struct S1 **l_64 = &g_62[1][0][1];
            int32_t l_67 = 0xBB6FCE13L;
            (*g_65) = ((*l_64) = g_62[1][0][1]);
            if (g_47)
                break;
            (*g_68) ^= l_67;
            (*g_71) = l_69;
            for (g_63.f0 = 0; (g_63.f0 <= 3); g_63.f0 += 1)
            { /* block id: 23 */
                struct S0 *l_73 = &g_70;
                int i, j, k;
                (*l_73) = g_70;
                if (g_50[g_63.f0][(g_57 + 2)][g_63.f0])
                    continue;
                for (g_56 = 3; (g_56 >= 0); g_56 -= 1)
                { /* block id: 28 */
                    for (l_67 = 0; (l_67 <= 1); l_67 += 1)
                    { /* block id: 31 */
                        int32_t *l_74 = &g_75;
                        int32_t **l_82[8][3] = {{&l_74,&l_74,&l_74},{&l_74,&l_74,&l_74},{&l_74,&l_74,&l_74},{(void*)0,&l_74,(void*)0},{&l_74,&l_74,&l_74},{&l_74,&l_74,&l_74},{&l_74,&l_74,&l_74},{(void*)0,&l_74,(void*)0}};
                        int32_t *l_83 = &g_75;
                        int i, j, k;
                        (*l_74) ^= 0xE74272ABL;
                        (*l_74) = (safe_mul_func_uint8_t_u_u((safe_rshift_func_uint8_t_u_u(g_50[(g_57 + 4)][g_57][g_56], l_80)), l_81));
                        l_83 = &g_75;
                        if ((*g_68))
                            continue;
                    }
                }
            }
        }
        g_94[5]++;
        for (l_80 = 0; (l_80 == 37); l_80 = safe_add_func_uint64_t_u_u(l_80, 9))
        { /* block id: 43 */
            int32_t **l_101 = (void*)0;
            struct S0 *l_116[2];
            int32_t l_135[5] = {0xB0B14FC1L,0xB0B14FC1L,0xB0B14FC1L,0xB0B14FC1L,0xB0B14FC1L};
            struct S1 * const l_140 = (void*)0;
            int i;
            for (i = 0; i < 2; i++)
                l_116[i] = &g_70;
            for (g_75 = (-23); (g_75 > 23); g_75 = safe_add_func_int8_t_s_s(g_75, 7))
            { /* block id: 46 */
                int32_t ***l_102 = &l_101;
                struct S0 *l_104 = &g_70;
                (*l_102) = l_101;
                (*l_90) |= (*g_68);
                if (l_103[1][3])
                    break;
                l_104 = l_104;
            }
            for (l_84 = 3; (l_84 >= 0); l_84 -= 1)
            { /* block id: 54 */
                struct S1 **l_108 = &g_62[0][0][7];
                struct S1 ***l_107[9][10][2] = {{{(void*)0,&l_108},{&l_108,(void*)0},{&l_108,&l_108},{&l_108,(void*)0},{&l_108,&l_108},{(void*)0,(void*)0},{(void*)0,&l_108},{&l_108,&l_108},{&l_108,&l_108},{&l_108,(void*)0}},{{(void*)0,(void*)0},{&l_108,&l_108},{(void*)0,&l_108},{&l_108,&l_108},{(void*)0,&l_108},{&l_108,(void*)0},{(void*)0,(void*)0},{&l_108,&l_108},{&l_108,&l_108},{&l_108,&l_108}},{{(void*)0,(void*)0},{(void*)0,&l_108},{&l_108,(void*)0},{&l_108,&l_108},{&l_108,(void*)0},{&l_108,&l_108},{(void*)0,(void*)0},{(void*)0,&l_108},{&l_108,&l_108},{&l_108,&l_108}},{{&l_108,(void*)0},{(void*)0,(void*)0},{&l_108,&l_108},{(void*)0,&l_108},{&l_108,&l_108},{(void*)0,&l_108},{&l_108,(void*)0},{(void*)0,(void*)0},{&l_108,&l_108},{&l_108,&l_108}},{{&l_108,&l_108},{(void*)0,(void*)0},{(void*)0,&l_108},{&l_108,(void*)0},{&l_108,&l_108},{&l_108,(void*)0},{&l_108,&l_108},{(void*)0,(void*)0},{(void*)0,&l_108},{&l_108,&l_108}},{{&l_108,&l_108},{&l_108,(void*)0},{(void*)0,(void*)0},{&l_108,&l_108},{(void*)0,&l_108},{&l_108,&l_108},{(void*)0,&l_108},{&l_108,(void*)0},{(void*)0,(void*)0},{&l_108,&l_108}},{{&l_108,&l_108},{&l_108,&l_108},{(void*)0,(void*)0},{(void*)0,&l_108},{&l_108,(void*)0},{&l_108,&l_108},{&l_108,(void*)0},{&l_108,&l_108},{(void*)0,(void*)0},{(void*)0,&l_108}},{{(void*)0,(void*)0},{(void*)0,(void*)0},{&l_108,(void*)0},{&l_108,&l_108},{(void*)0,&l_108},{&l_108,&l_108},{&l_108,&l_108},{&l_108,&l_108},{(void*)0,&l_108},{&l_108,(void*)0}},{{&l_108,(void*)0},{(void*)0,(void*)0},{(void*)0,&l_108},{(void*)0,&l_108},{&l_108,(void*)0},{&l_108,&l_108},{&l_108,&l_108},{&l_108,&l_108},{&l_108,(void*)0},{&l_108,&l_108}}};
                int32_t l_134 = 0x2AA60D7DL;
                int32_t l_150[7][8] = {{0x9FBB45EBL,0x9FBB45EBL,1L,0x9FBB45EBL,0x9FBB45EBL,1L,0x9FBB45EBL,0x9FBB45EBL},{8L,0x9FBB45EBL,8L,8L,0x9FBB45EBL,8L,8L,0x9FBB45EBL},{0x9FBB45EBL,8L,8L,0x9FBB45EBL,8L,8L,0x9FBB45EBL,8L},{0x9FBB45EBL,0x9FBB45EBL,1L,0x9FBB45EBL,0x9FBB45EBL,1L,0x9FBB45EBL,0x9FBB45EBL},{8L,0x9FBB45EBL,8L,8L,0x9FBB45EBL,8L,8L,0x9FBB45EBL},{0x9FBB45EBL,8L,8L,0x9FBB45EBL,8L,8L,0x9FBB45EBL,8L},{0x9FBB45EBL,0x9FBB45EBL,1L,0x9FBB45EBL,0x9FBB45EBL,1L,0x9FBB45EBL,0x9FBB45EBL}};
                int i, j, k;
                (*l_89) &= (safe_add_func_int16_t_s_s((p_39 , (((g_109 = (void*)0) == l_110) ^ (((((safe_add_func_int16_t_s_s((safe_rshift_func_int16_t_s_s(p_39, (((g_48.f0 < 0xD29DL) , (p_39 || g_13)) <= (*l_90)))), l_86[1][3][2])) || p_39) > p_39) , g_48.f0) != g_47))), g_57));
                if (((void*)0 != &g_47))
                { /* block id: 57 */
                    struct S1 l_145 = {4294967286UL};
                    int32_t l_152[6] = {(-5L),(-5L),(-5L),(-5L),(-5L),(-5L)};
                    int32_t ***l_160 = &l_101;
                    int i, j, k;
                    l_135[4] &= (+(((l_116[1] == (*g_71)) == (safe_rshift_func_uint16_t_u_s(0x2F62L, (~((*p_40) != (*p_40)))))) && (safe_mul_func_int16_t_s_s(((safe_mod_func_int32_t_s_s((safe_lshift_func_int8_t_s_s((((safe_mod_func_uint16_t_u_u((((((g_128[1][3][0] , (g_47 , (safe_rshift_func_uint64_t_u_u((g_50[(l_84 + 1)][(l_84 + 2)][l_84] = (((safe_div_func_int32_t_s_s((*g_68), ((*l_89) |= (((g_133 = p_39) , 255UL) ^ 252UL)))) , p_39) | 3UL)), 48)))) == l_134) && 0xCBEDFB48L) , g_63.f0) > p_39), 7UL)) | 0xCBD7L) && p_39), 7)), p_39)) >= 1UL), g_47))));
                    for (g_75 = 0; (g_75 <= 3); g_75 += 1)
                    { /* block id: 64 */
                        struct S1 ****l_139 = &l_138;
                        int16_t *l_147 = &g_148;
                        int32_t l_149 = 0L;
                        int32_t l_151[10] = {0L,1L,1L,0L,(-5L),0L,1L,1L,0L,(-5L)};
                        uint16_t *l_157 = &g_158;
                        int i;
                        (*g_68) = ((g_75 & (safe_rshift_func_int8_t_s_s((((*l_139) = l_138) == &l_108), (l_140 != ((safe_lshift_func_int16_t_s_s(((*l_147) = (((((*p_40) = (safe_mod_func_int16_t_s_s((&g_47 == (l_145 , l_146)), 3UL))) , p_39) >= 4294967294UL) == 0xE7EAL)), g_94[5])) , (*g_65)))))) || p_39);
                        g_154++;
                        if (l_86[3][5][2])
                            continue;
                        (*g_68) &= (p_39 ^ (((*l_157) = 0x2912L) != ((((g_159 != l_160) , (*l_139)) == (void*)0) > l_150[3][2])));
                    }
                    if (p_39)
                        continue;
                }
                else
                { /* block id: 75 */
                    int32_t **l_165 = &l_85;
                    int32_t l_166[10] = {0x25BB58BCL,2L,2L,0x25BB58BCL,0L,0x25BB58BCL,2L,2L,0x25BB58BCL,0L};
                    int i;
                    (*g_162) = (g_161[1] , &l_86[2][3][1]);
                    (*g_162) = (void*)0;
                    (*l_165) = (*g_162);
                    for (g_158 = 0; (g_158 <= 3); g_158 += 1)
                    { /* block id: 81 */
                        uint16_t l_167 = 0UL;
                        l_167++;
                        (*l_88) = l_80;
                    }
                }
            }
        }
    }
    return &g_50[1][2][1];
}


/* ------------------------------------------ */
/* 
 * reads : g_57
 * writes: g_57
 */
static uint64_t * func_41(int32_t  p_42, uint64_t * const  p_43)
{ /* block id: 6 */
    int32_t *l_55[9] = {&g_56,&g_56,&g_56,&g_56,&g_56,&g_56,&g_56,&g_56,&g_56};
    int i;
    --g_57;
    return &g_50[3][5][2];
}




/* ---------------------------------------- */
int main (int argc, char* argv[])
{
    int i, j, k;
    int print_hash_value = 0;
    if (argc == 2 && strcmp(argv[1], "1") == 0) print_hash_value = 1;
    platform_main_begin();
    crc32_gentab();
    func_1();
    transparent_crc(g_13, "g_13", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        transparent_crc(g_15[i], "g_15[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_47, "g_47", print_hash_value);
    transparent_crc(g_48.f0, "g_48.f0", print_hash_value);
    for (i = 0; i < 8; i++)
    {
        for (j = 0; j < 6; j++)
        {
            for (k = 0; k < 4; k++)
            {
                transparent_crc(g_50[i][j][k], "g_50[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_56, "g_56", print_hash_value);
    transparent_crc(g_57, "g_57", print_hash_value);
    transparent_crc(g_63.f0, "g_63.f0", print_hash_value);
    transparent_crc(g_70.f0, "g_70.f0", print_hash_value);
    transparent_crc(g_75, "g_75", print_hash_value);
    for (i = 0; i < 8; i++)
    {
        transparent_crc(g_94[i], "g_94[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    for (i = 0; i < 8; i++)
    {
        for (j = 0; j < 6; j++)
        {
            for (k = 0; k < 2; k++)
            {
                transparent_crc(g_128[i][j][k].f0, "g_128[i][j][k].f0", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_133, "g_133", print_hash_value);
    transparent_crc(g_148, "g_148", print_hash_value);
    transparent_crc(g_153, "g_153", print_hash_value);
    transparent_crc(g_154, "g_154", print_hash_value);
    transparent_crc(g_158, "g_158", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        transparent_crc(g_161[i].f0, "g_161[i].f0", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_171, "g_171", print_hash_value);
    transparent_crc(g_196, "g_196", print_hash_value);
    for (i = 0; i < 5; i++)
    {
        for (j = 0; j < 10; j++)
        {
            transparent_crc(g_217[i][j], "g_217[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_219, "g_219", print_hash_value);
    transparent_crc(g_232, "g_232", print_hash_value);
    for (i = 0; i < 8; i++)
    {
        for (j = 0; j < 3; j++)
        {
            transparent_crc(g_234[i][j], "g_234[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_270.f0, "g_270.f0", print_hash_value);
    transparent_crc(g_275, "g_275", print_hash_value);
    transparent_crc(g_276.f0, "g_276.f0", print_hash_value);
    transparent_crc(g_279.f0, "g_279.f0", print_hash_value);
    transparent_crc(g_293.f0, "g_293.f0", print_hash_value);
    for (i = 0; i < 8; i++)
    {
        for (j = 0; j < 10; j++)
        {
            transparent_crc(g_334[i][j].f0, "g_334[i][j].f0", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_554, "g_554", print_hash_value);
    for (i = 0; i < 10; i++)
    {
        for (j = 0; j < 5; j++)
        {
            for (k = 0; k < 5; k++)
            {
                transparent_crc(g_626[i][j][k], "g_626[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_692.f0, "g_692.f0", print_hash_value);
    for (i = 0; i < 2; i++)
    {
        for (j = 0; j < 1; j++)
        {
            for (k = 0; k < 3; k++)
            {
                transparent_crc(g_700[i][j][k].f0, "g_700[i][j][k].f0", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_760.f0, "g_760.f0", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        transparent_crc(g_763[i], "g_763[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    for (i = 0; i < 1; i++)
    {
        transparent_crc(g_809[i], "g_809[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_906, "g_906", print_hash_value);
    for (i = 0; i < 9; i++)
    {
        transparent_crc(g_919[i], "g_919[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_937, "g_937", print_hash_value);
    transparent_crc(g_975.f0, "g_975.f0", print_hash_value);
    transparent_crc(g_987.f0, "g_987.f0", print_hash_value);
    transparent_crc(g_1005.f0, "g_1005.f0", print_hash_value);
    transparent_crc(g_1043.f0, "g_1043.f0", print_hash_value);
    transparent_crc(g_1057, "g_1057", print_hash_value);
    transparent_crc(g_1071, "g_1071", print_hash_value);
    transparent_crc(g_1116.f0, "g_1116.f0", print_hash_value);
    transparent_crc(g_1137.f0, "g_1137.f0", print_hash_value);
    for (i = 0; i < 7; i++)
    {
        transparent_crc(g_1209[i].f0, "g_1209[i].f0", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    for (i = 0; i < 7; i++)
    {
        transparent_crc(g_1247[i], "g_1247[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_1251.f0, "g_1251.f0", print_hash_value);
    transparent_crc(g_1305.f0, "g_1305.f0", print_hash_value);
    transparent_crc(g_1421.f0, "g_1421.f0", print_hash_value);
    transparent_crc(g_1435.f0, "g_1435.f0", print_hash_value);
    for (i = 0; i < 6; i++)
    {
        transparent_crc(g_1454[i].f0, "g_1454[i].f0", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_1499.f0, "g_1499.f0", print_hash_value);
    transparent_crc(g_1551.f0, "g_1551.f0", print_hash_value);
    transparent_crc(g_1630, "g_1630", print_hash_value);
    for (i = 0; i < 9; i++)
    {
        for (j = 0; j < 10; j++)
        {
            for (k = 0; k < 2; k++)
            {
                transparent_crc(g_1663[i][j][k], "g_1663[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    for (i = 0; i < 5; i++)
    {
        transparent_crc(g_1690[i].f0, "g_1690[i].f0", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    for (i = 0; i < 8; i++)
    {
        transparent_crc(g_1704[i].f0, "g_1704[i].f0", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_1728, "g_1728", print_hash_value);
    transparent_crc(g_1797.f0, "g_1797.f0", print_hash_value);
    transparent_crc(g_1939, "g_1939", print_hash_value);
    transparent_crc(g_1954.f0, "g_1954.f0", print_hash_value);
    transparent_crc(g_1986.f0, "g_1986.f0", print_hash_value);
    transparent_crc(g_1991, "g_1991", print_hash_value);
    transparent_crc(g_2073.f0, "g_2073.f0", print_hash_value);
    transparent_crc(g_2078.f0, "g_2078.f0", print_hash_value);
    transparent_crc(g_2101, "g_2101", print_hash_value);
    transparent_crc(g_2201, "g_2201", print_hash_value);
    transparent_crc(g_2203, "g_2203", print_hash_value);
    for (i = 0; i < 9; i++)
    {
        for (j = 0; j < 10; j++)
        {
            transparent_crc(g_2207[i][j].f0, "g_2207[i][j].f0", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_2208.f0, "g_2208.f0", print_hash_value);
    transparent_crc(g_2254, "g_2254", print_hash_value);
    for (i = 0; i < 8; i++)
    {
        for (j = 0; j < 7; j++)
        {
            for (k = 0; k < 4; k++)
            {
                transparent_crc(g_2270[i][j][k].f0, "g_2270[i][j][k].f0", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_2272.f0, "g_2272.f0", print_hash_value);
    transparent_crc(g_2273.f0, "g_2273.f0", print_hash_value);
    for (i = 0; i < 5; i++)
    {
        transparent_crc(g_2275[i].f0, "g_2275[i].f0", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_2276.f0, "g_2276.f0", print_hash_value);
    transparent_crc(g_2277.f0, "g_2277.f0", print_hash_value);
    transparent_crc(g_2279.f0, "g_2279.f0", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 5; j++)
        {
            for (k = 0; k < 8; k++)
            {
                transparent_crc(g_2280[i][j][k].f0, "g_2280[i][j][k].f0", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_2281.f0, "g_2281.f0", print_hash_value);
    transparent_crc(g_2282.f0, "g_2282.f0", print_hash_value);
    transparent_crc(g_2284.f0, "g_2284.f0", print_hash_value);
    for (i = 0; i < 6; i++)
    {
        for (j = 0; j < 3; j++)
        {
            transparent_crc(g_2286[i][j].f0, "g_2286[i][j].f0", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    for (i = 0; i < 9; i++)
    {
        for (j = 0; j < 5; j++)
        {
            for (k = 0; k < 1; k++)
            {
                transparent_crc(g_2287[i][j][k].f0, "g_2287[i][j][k].f0", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_2293, "g_2293", print_hash_value);
    transparent_crc(g_2296.f0, "g_2296.f0", print_hash_value);
    transparent_crc(g_2298.f0, "g_2298.f0", print_hash_value);
    transparent_crc(g_2350.f0, "g_2350.f0", print_hash_value);
    transparent_crc(g_2393.f0, "g_2393.f0", print_hash_value);
    transparent_crc(g_2467.f0, "g_2467.f0", print_hash_value);
    transparent_crc(g_2533.f0, "g_2533.f0", print_hash_value);
    transparent_crc(g_2535, "g_2535", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        transparent_crc(g_2582[i], "g_2582[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_2592.f0, "g_2592.f0", print_hash_value);
    transparent_crc(g_2621, "g_2621", print_hash_value);
    for (i = 0; i < 2; i++)
    {
        for (j = 0; j < 9; j++)
        {
            transparent_crc(g_2744[i][j], "g_2744[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_2792.f0, "g_2792.f0", print_hash_value);
    for (i = 0; i < 7; i++)
    {
        for (j = 0; j < 3; j++)
        {
            transparent_crc(g_2805[i][j], "g_2805[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_2815.f0, "g_2815.f0", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        transparent_crc(g_2845[i], "g_2845[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_2898, "g_2898", print_hash_value);
    transparent_crc(g_2932.f0, "g_2932.f0", print_hash_value);
    platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
    return 0;
}

/************************ statistics *************************
XXX max struct depth: 1
breakdown:
   depth: 0, occurrence: 812
   depth: 1, occurrence: 50
XXX total union variables: 18

XXX non-zero bitfields defined in structs: 3
XXX zero bitfields defined in structs: 0
XXX const bitfields defined in structs: 0
XXX volatile bitfields defined in structs: 2
XXX structs with bitfields in the program: 106
breakdown:
   indirect level: 0, occurrence: 43
   indirect level: 1, occurrence: 30
   indirect level: 2, occurrence: 10
   indirect level: 3, occurrence: 9
   indirect level: 4, occurrence: 12
   indirect level: 5, occurrence: 2
XXX full-bitfields structs in the program: 25
breakdown:
   indirect level: 0, occurrence: 25
XXX times a bitfields struct's address is taken: 105
XXX times a bitfields struct on LHS: 3
XXX times a bitfields struct on RHS: 61
XXX times a single bitfield on LHS: 0
XXX times a single bitfield on RHS: 37

XXX max expression depth: 37
breakdown:
   depth: 1, occurrence: 443
   depth: 2, occurrence: 103
   depth: 3, occurrence: 10
   depth: 4, occurrence: 6
   depth: 5, occurrence: 2
   depth: 6, occurrence: 2
   depth: 7, occurrence: 1
   depth: 8, occurrence: 1
   depth: 9, occurrence: 2
   depth: 12, occurrence: 1
   depth: 13, occurrence: 1
   depth: 14, occurrence: 1
   depth: 15, occurrence: 3
   depth: 16, occurrence: 5
   depth: 17, occurrence: 3
   depth: 18, occurrence: 4
   depth: 19, occurrence: 4
   depth: 20, occurrence: 4
   depth: 21, occurrence: 4
   depth: 22, occurrence: 2
   depth: 23, occurrence: 2
   depth: 24, occurrence: 6
   depth: 25, occurrence: 6
   depth: 26, occurrence: 4
   depth: 27, occurrence: 2
   depth: 28, occurrence: 1
   depth: 29, occurrence: 4
   depth: 30, occurrence: 2
   depth: 31, occurrence: 1
   depth: 32, occurrence: 1
   depth: 33, occurrence: 1
   depth: 34, occurrence: 4
   depth: 37, occurrence: 1

XXX total number of pointers: 607

XXX times a variable address is taken: 1467
XXX times a pointer is dereferenced on RHS: 278
breakdown:
   depth: 1, occurrence: 215
   depth: 2, occurrence: 46
   depth: 3, occurrence: 5
   depth: 4, occurrence: 11
   depth: 5, occurrence: 1
XXX times a pointer is dereferenced on LHS: 365
breakdown:
   depth: 1, occurrence: 317
   depth: 2, occurrence: 34
   depth: 3, occurrence: 11
   depth: 4, occurrence: 3
XXX times a pointer is compared with null: 48
XXX times a pointer is compared with address of another variable: 13
XXX times a pointer is compared with another pointer: 18
XXX times a pointer is qualified to be dereferenced: 10029

XXX max dereference level: 5
breakdown:
   level: 0, occurrence: 0
   level: 1, occurrence: 1225
   level: 2, occurrence: 326
   level: 3, occurrence: 92
   level: 4, occurrence: 66
   level: 5, occurrence: 107
XXX number of pointers point to pointers: 258
XXX number of pointers point to scalars: 278
XXX number of pointers point to structs: 50
XXX percent of pointers has null in alias set: 27
XXX average alias set size: 1.4

XXX times a non-volatile is read: 2071
XXX times a non-volatile is write: 1166
XXX times a volatile is read: 222
XXX    times read thru a pointer: 46
XXX times a volatile is write: 71
XXX    times written thru a pointer: 6
XXX times a volatile is available for access: 8.39e+03
XXX percentage of non-volatile access: 91.7

XXX forward jumps: 3
XXX backward jumps: 6

XXX stmts: 416
XXX max block depth: 5
breakdown:
   depth: 0, occurrence: 30
   depth: 1, occurrence: 37
   depth: 2, occurrence: 70
   depth: 3, occurrence: 85
   depth: 4, occurrence: 92
   depth: 5, occurrence: 102

XXX percentage a fresh-made variable is used: 18.4
XXX percentage an existing variable is used: 81.6
FYI: the random generator makes assumptions about the integer size. See platform.info for more details.
XXX total OOB instances added: 0
********************* end of statistics **********************/

